-
AuthorPosts
-
May 1, 2018 at 8:05 am #949422
Fatal error: Cannot redeclare av_upcoming_events_fallback() (previously declared in …/home/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_upcoming.php:15) in /web/htdocs/www.paolopercaus.photography/home/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_upcoming/events_upcoming.php on line 13
tried to reload old version but it does not work
- This topic was modified 6 years, 6 months ago by czar.
May 1, 2018 at 8:18 am #9494261 site with Enfold automatically updated and works
2 sites, manually updated with ftp are broken:Fatal error: Cannot redeclare av_upcoming_events_fallback() (previously declared in ./home/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_upcoming.php:15) in /web/htdocs/www.paolopercaus.photography/home/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_upcoming/events_upcoming.php on line 13
May 1, 2018 at 11:28 am #949484I had to hide these lines to make it work
/** if( !class_exists( 'Tribe__Events__Main' ) ) { function av_upcoming_events_fallback() { return "<p>Please install the <a href='https://wordpress.org/plugins/the-events-calendar/'>The Events Calendar</a> or <a href='http://mbsy.co/6cr37'>The Events Calendar Pro</a> Plugin to display a list of upcoming Events</p>"; } add_shortcode('av_upcoming_events', 'av_upcoming_events_fallback'); return; } */
and
// "taxonomy" => Tribe__Events__Main::TAXONOMY,
- This reply was modified 6 years, 6 months ago by czar.
May 1, 2018 at 11:42 am #949492so I solved with automatic update, but I do not understand why with FTP it gives error
May 2, 2018 at 7:08 pm #950218Same problem here! Got a simple solution:
As the events_upcoming.php shows the following Information in the source code:/**
* Upcoming Events
*
* Show a list of upcoming events
* Element is in Beta and by default disabled. Todo: test with layerslider elements. currently throws error bc layerslider is only included if layerslider element is detected which is not the case with the post/page element
*/I simply renamed the
/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_upcoming/events_upcoming.php
into “events_upcoming.bak” and everythings works fine. Seems like FTP upload doesn’t deactivate this beta thing by default! Hope it helps you too.
- This reply was modified 6 years, 6 months ago by DexLab.
May 2, 2018 at 9:41 pm #950315Hi,
Thank you for that solution – re appreciate it a lot!
Best regards,
BasilisMay 2, 2018 at 9:52 pm #950320I have the same issue. I could not update automatically so I did ftp and now the site is down.
Where is this file you talk about found?May 2, 2018 at 9:55 pm #950326Duplicate
- This reply was modified 6 years, 6 months ago by elames.
May 2, 2018 at 10:03 pm #950332Managed to fix by restoring files in my cpanel but am at a loss as to why this happens every time with ftp
May 2, 2018 at 11:14 pm #950368@elames: Edited my prior post to clarify the filelocation. It’s the file mentioned in the error:
/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_upcoming/events_upcoming.php
May 4, 2018 at 5:22 am #951280June 14, 2018 at 1:39 am #972564this worked for me as well thanks so much!
June 14, 2018 at 4:09 pm #972862 -
AuthorPosts
- You must be logged in to reply to this topic.