![Check out Enfold](https://kriesi.at/wp-content/themes/kriesi/images/banner-enfold.jpg)
Tagged: 4.2.6, fatal error, theme, update
-
AuthorPosts
-
March 13, 2018 at 9:16 pm #926241
Everytime I update the theme, I run into errors. Is there an underlying reason why the theme update never seems to work right? I always have to revert back to an older theme risking site hacking. Any thoughts?
Fatal error: Can’t use function return value in write context in /home/content/26/9153026/html/wp-content/themes/enfold/header.php on line 6
-
This topic was modified 6 years, 5 months ago by
zetharia.
March 13, 2018 at 10:08 pm #926279Hello. You’re only at more of a security risk IF a vulnerability is found and the theme addresses it. Reverting to a previous version does not mean you are more at risk. That said, I agree the updates have been a mess. I recommend keeping a copy of every Enfold version, that way you can easily roll back.
Also, I recommend always upgrading/downgrading via FTP, rather than using your browser.
In this particular case, if you search the boards, others are running into this issue and you will need to address your PHP version.
March 13, 2018 at 10:11 pm #926284Hi,
Sorry for the inconvenience! Issue occurs on servers running PHP versions older than 5.6. You can either upgrade your PHP version to minimum 5.6 and preferably to 7.x or replace /wp-content/themes/enfold/header.php file with this one – https://www.dropbox.com/s/r389b5x4ippscyn/header.php?dl=0 to bring up backwards compatibility with older PHP versions.
@rlogan2334 Thanks for your help and input :)Regards,
YigitMarch 13, 2018 at 10:26 pm #926304I have a big problem, I just updated the enfold theme and now my site does not appear, just a blank screen, contact my hosting provider and say that the enfold template has a big mistake.
[13-Mar-2018 17:38:23 UTC] PHP Fatal error: Can not redeclare av_countdown_events_fallback () (previously declared in /home/pastele9/public_html/alexledesma.mx/wp-content/themes/enfold/config-templatebuilder/avia -shortcodes / events_countdown.php: 14) in /home/pastele9/public_html/alexledesma.mx/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_countdown/events_countdown.php on line 12You need to verify with your code developer or programmer of the site for the reinstallation of this topic.
March 13, 2018 at 11:16 pm #926324I updated the header.php file, but still have the same error.
March 13, 2018 at 11:17 pm #926326Does anyone have the theme version 4.2 I can download?
March 13, 2018 at 11:23 pm #926329Hi!
I attached it in private content field.
@alexledesma please go to wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/ folder via FTP and remove events_countdown.php file and that would help.Best regards,
YigitMarch 14, 2018 at 2:09 am #926359I’m so sorry to have to write back here. I just downgraded to 4.2, but now I’m getting these additional errors:
Fatal error: Declaration of avia_sc_comments_list::shortcode_handler() must be compatible with that of aviaShortcodeTemplate::shortcode_handler() in /home/content/26/9153026/html/wp-content/themes/enfoldv4_2/config-templatebuilder/avia-shortcodes/comments.php on line 14
March 14, 2018 at 2:15 am #926360This reply has been marked as private.March 14, 2018 at 2:48 am #926362I think I fixed it. Some error messages came up and I just went and hid the code in the comments related issues. Thanks.
March 14, 2018 at 9:50 am #926503Hi,
Glad that it’s fixed. The error you’re seeing appears when you’re using php version that is less than 5.6.
Best regards,
NikkoMarch 15, 2018 at 3:23 pm #927381I’m in the same situation. Website in HANG with blank page after uodating to 4.2.6.
Please, is I go to wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/ folder via FTP and remove events_countdown.php , does I resolve?
Thanks
VitoMarch 15, 2018 at 3:29 pm #927391In my installation doesn’t exist events_countdown.php in avia-shortcodes/ folder
So I cannot solve by myself.March 15, 2018 at 3:31 pm #927395Hey!
@tenstepit I replied to your thread here – https://kriesi.at/support/topic/website-hang-after-updating-to-enfold-4-2-6/
If you would like us to look into it, please post FTP and WP admin logins in private content field on your own thread :)Regards,
Yigit -
This topic was modified 6 years, 5 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.