Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #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, 4 months ago by zetharia.
    #926279

    Hello. 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.

    #926284

    Hi,

    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,
    Yigit

    #926304

    I 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 12

    You need to verify with your code developer or programmer of the site for the reinstallation of this topic.

    #926324

    I updated the header.php file, but still have the same error.

    #926326

    Does anyone have the theme version 4.2 I can download?

    #926329

    Hi!

    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,
    Yigit

    #926359

    I’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

    #926360
    This reply has been marked as private.
    #926362

    I think I fixed it. Some error messages came up and I just went and hid the code in the comments related issues. Thanks.

    #926503

    Hi,

    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,
    Nikko

    #927381

    I’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
    Vito

    #927391

    In my installation doesn’t exist events_countdown.php in avia-shortcodes/ folder
    So I cannot solve by myself.

    #927395

    Hey!


    @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

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.