Tagged: fatal error
-
AuthorPosts
-
March 9, 2018 at 12:35 pm #924451
My website :
http://www.perksinstitutions.com
From Yesterday, my website is refusing to open. I was getting the Fatal error message as follows:Fatal error: Cannot redeclare av_countdown_events_fallback() (previously declared in /home3/sriniva3/public_html/perksinstitutions/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_countdown.php:10) in /home3/sriniva3/public_html/perksinstitutions/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_countdown/events_countdown.php on line 12
I could not even get the login page and was getting Fatal Error message.
With the help of Bluhost, I could recover the login page by changing the theme to a newer one.
Kindly help me to recover the website ( http://www.perksinstitutions.com ) as soon as possible
March 9, 2018 at 3:48 pm #924561Hey Srinivasen,
Please remove this file via FTP
/themes/enfold/config-templatebuilder/avia-shortcodes/events_countdown.phpit has moved to this file
/themes/enfold/config-templatebuilder/avia-shortcodes/events_countdown/events_countdown.phpIf you need further assistance please let us know.
Best regards,
VictoriaMarch 9, 2018 at 6:49 pm #924664Thanks for the suggestions
I understand the first step : Please remove this file via FTP
/themes/enfold/config-templatebuilder/avia-shortcodes/events_countdown.phpBut I do not understand the second step :
it has moved to this file
/themes/enfold/config-templatebuilder/avia-shortcodes/events_countdown/events_countdown.phpShould I up load this file ? From where should I obtain the file ?
March 10, 2018 at 1:52 pm #924914Hi,
The error occurs because of those two files contains similar code, so what you have done already should be enough. Victoria wrote the second part as an explanation of why you should delete the first file.
Best regards,
RikardMarch 10, 2018 at 6:38 pm #924980Thanks for the support.
Now I have deleted the March updates and installed old January updates fearing that the latest update might bring agin the fatal error. Is that Ok or should I update the theme to the latest version ?
Bluehost offers only 7.0 version of php. They do not have the php 7.2.0 version available for the public. Will this affect the website performance ?
Thanks again
March 10, 2018 at 6:43 pm #924982Hey!
PHP 7.0 will be fine. After upgrading your PHP version, please try re-updating the theme via FTP – kriesi.at/documentation/enfold/updating-your-theme-files/ and let us know if you have any issues
Best regards,
YigitMay 24, 2018 at 2:54 pm #961558I had to delete both events files:
/themes/enfold/config-templatebuilder/avia-shortcodes/events_countdown.php
and
/themes/enfold/config-templatebuilder/avia-shortcodes/events_upcoming.php
:(May 24, 2018 at 4:06 pm #961613Hi,
That is fine @deonpt, they are duplicate files anyway. Correct files are in /themes/enfold/config-templatebuilder/avia-shortcodes/events_upcoming/ and /themes/enfold/config-templatebuilder/avia-shortcodes/events_countdown/ respectively :)
Best regards,
YigitJuly 11, 2018 at 6:12 am #984040Hi, I join the forum because I have a shopping cart website http://guadalupeflores.com.co/, was asked to update the wordpress, also the plugin of woocomerce and upload the latest version of the theme that I have and appears Fatal error: Cannot redeclare av_upcoming_events_fallback() (previously declared in /home/wwwguadalupeflor/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_upcoming/events_upcoming.php:15) in /home/wwwguadalupeflor/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_upcoming.php on line 10
please I urge your help soon! Thank you
July 11, 2018 at 7:59 am #984056Hi laflacker,
Please do the following:
- Switch to a default wordpress theme like twentyseventeen
- Delete your recent Enfold theme
- Upload and install the latest version of Enfold
Let us know if it helps :)
Best regards,
NikkoOctober 16, 2018 at 10:16 pm #1022425FYI… I had to delete both of those files also. But now it’s working fine.
October 17, 2018 at 7:43 am #1022590Hi shoutcloudstudios,
Great, glad you got it working and sorry for the problems.
Best regards,
RikardMarch 12, 2019 at 10:47 pm #1078024Hi,
We have a problem on our website http://www.mylittlesouschef.com
Since yesterday it is impossible to open any page, there is a fatal errorError: Cannot use string offset as an array in /home/mylit485/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php:489 Stack trace: #0 /home/mylit485/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(443)
Plus other error and we can not do any changes. We have the latest version of WordPress, and I can not understand how to fix this.
Can you please help us?Many thanks
FrancescaMarch 13, 2019 at 12:42 pm #1078251Hi
We have a problem on our website http://www.oli-meli.fr
Fatal error: Cannot redeclare av_upcoming_events_fallback() (previously declared in /homepages/11/d199278319/htdocs/OLI-MELI/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_upcoming/events_upcoming.php:15) in /homepages/11/d199278319/htdocs/OLI-MELI/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_upcoming.php on line 10
Can you please help us?
Many Thanks
David
March 13, 2019 at 4:47 pm #1078304Hi,
@inkinch please contact your hosting provider and ask them to upgrade PHP version to minimum 5.6 and preferably to 7.x.
@tontondavid813, please delete the theme and re-install it – https://kriesi.at/documentation/enfold/install-enfold-theme/#theme-install. It seems like theme folders were merged instead of being replaced and therefore there are duplicate files and that is causing the issue.Best regards,
YigitJune 18, 2020 at 11:44 am #1223662 -
AuthorPosts
- The topic ‘Fatal Error’ is closed to new replies.