Viewing 23 posts - 1 through 23 (of 23 total)
  • Author
    Posts
  • #945593

    We are running Enfold on 4 of our sites for a few years now and never had any update issues until recently. The site crashes and we have to call our hosting to get the site back online via our backups.

    We are stuck on Enfold 4.1.2 using WordPress 4.8.6

    Plugins installed are Yoast SEO, Wordfence Security, Limit Login Attempts, Huge IT Google Map, Google Analytics for WordPress by Monster Insights, FomrCraft and All In One Wp Migration.

    We can update plugins and wordpress but not the Theme. I didn’t want to keep updating WordPress without getting the theme updated as well.

    I did an extensive troubleshoot with our host, they took all plugins out and the error happened again. They did a few more checks and said it was trouble with some of the Theme code. I wasn’t able to get the error code that displayed the exact location because they got the site back up before I could.

    Is there a way to troubleshoot and correct this error or do I need to try and get it updated to recreate the error first?

    Site info is posted in private section.
    Thank you

    #945621

    I have had the same problem with 2 sites. i’m afraid to update any more.

    The error my hosting company (BlueHost) said was:

    below is the error_log
    [23-Apr-2018 22:46:26 UTC] PHP Fatal error: Can’t use function return value in write context in /home1/kerrycam/public_html/wp-content/themes/enfold/header.php on line 6

    #945682

    Hi AB,

    I have tried to check on your site however it’s showing:

    Your access to this site has been limited

    I would suggest creating a stage site first then do the update first on the stage site before updating the live site when you need to update WordPress, third party plugins or the Enfold theme. If the error shows up on your stage site, please give us admin and ftp access, so we can check on it further and try to debug it.

    @Tia: Please check the solution on this thread: https://kriesi.at/support/topic/fatal-error-cant-use-function-return-value-enfold-header-php-on-line-6/#post-922937
    Hope it helps :)

    Best regards,
    Nikko

    #945759

    Hi, can I get a link to an older version of enfold please? My site will work with other themes. I don’t want to mess about with changing header php files.
    Thanks

    #945760

    The hosting is running php 5.6

    #945805

    Hi Tia,

    I see, we could do it for you, we just need a temporary admin or ftp access for that.
    If that’s okay, please create a new thread and post the admin or ftp access in private content, since anything posted in private content is only visible to the moderators and thread creator only.

    Best regards,
    Nikko

    #945820

    It’s okay. I restored an old version of enfold from a backup and the site is back.
    I’ll watch out for general updates to this issue as a number if people seem to be having problems.
    Thanks

    #945824

    Hi Tia,

    Yes, I would suggest creating a stage site, for more information regarding it you can check this post: https://www.elegantthemes.com/blog/tips-tricks/how-to-create-a-wordpress-staging-site
    If there are updates, apply it there first so your live site won’t be affected, once everything is clear on the stage site, you can proceed with updating the live site with lesser risk.
    Hope this information helps.

    Best regards,
    Nikko

    #961197

    I was finally able to get the error code produced.

    Fatal error: Call to undefined method aviaShortcodeTemplate::__destruct() in /home/****/public_html/****/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/audio-player.php on line 53

    Can you assist in resolving so we can proceed with updates? I added a few *** in places of some data that I didn’t want shown.

    #961201

    Hey,


    @ablando
    Could you please contact your hosting provider and ask them to upgrade PHP version to minimum 5.6 and preferably to 7.x?

    Best regards,
    Yigit

    #961205

    Yes, I will call them now and get them to update PHP.

    #961207

    Hi,

    We will keep the thread open and wait to hear from you :)

    Best regards,
    Yigit

    #961228

    PHP has been updated to 7.0.

    Do you think that was the issue and are we safe in trying to do an update now?

    #961230

    Hey,

    Yes, please try re-updating the theme via FTP – https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#reinstall-or-update-using-ftp

    Regards,
    Yigit

    #988426

    I have been working on this for the past month with no success. We have another site with with the same set up using BlueHost which I was able to update with no issues.

    Is there a way to check all of my setting with GoDaddy to see what could be possibly causing the issue?

    I updated php but is there other settings I can check? I’m running out of options and really need to get this corrected. We have three sites on GoDaddy with this issue.

    Or I am open to any other suggestions you guys might have. I appreciate the help so far as I know it’s not a theme issue but a hosting issue. So I appreciate you guys helping me through this.

    #988635

    Hi AB,

    I think the best way is to enable debugging or error logging: https://codex.wordpress.org/Debugging_in_WordPress to know what error your sites are having.
    Maybe going to Layerslider WP > Options > System Status might help to check server setting or you can use phpinfo for further comparison.
    Hope this helps.

    Best regards,
    Nikko

    #1015070

    Site still crashing. I moved it to a staging domain and tried to update it with the same result but different errors. I set up a log in for you to review. This is a test domain so feel fee to do what you need to do. See private content below.

    #1015325

    Hi AB,

    Can you please check server log for error?

    Here is how to find it: http://snapcreek.com/blog/wordpress-error-log-friend/

    Best regards,
    Victoria

    #1015337

    See below for some of the errors given when I tried the update.

    #1015445

    Hi AB,

    Ok, thank you. Did you try updating via FTP? Please make sure to have a backup done and share FTP credentials.

    Best regards,
    Victoria

    #1015502

    I deleted via ftp and reinstalled from the latest folder download in Themeforest and it looks like it took. I am going to try and replicate on the actual site now. I will report back.

    #1015839

    Updated the actual domain via ftp and it took this time. Checked and all looks good. Theme shows current version and no other errors. I think we are good. You can close this ticket. Thanks for the help.

    #1015988

    Hi AB,

    Glad to hear that it’s fixed :)
    If you need further assistance, feel free to post a new thread.
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 23 posts - 1 through 23 (of 23 total)
  • The topic ‘Site crashes on update to Theme’ is closed to new replies.