Tagged: theme update, update
-
AuthorPosts
-
April 23, 2018 at 11:29 pm #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 youApril 24, 2018 at 1:07 am #945621I 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 6April 24, 2018 at 6:31 am #945682Hi 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,
NikkoApril 24, 2018 at 9:19 am #945759Hi, 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.
ThanksApril 24, 2018 at 9:20 am #945760The hosting is running php 5.6
April 24, 2018 at 10:22 am #945805Hi 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,
NikkoApril 24, 2018 at 10:37 am #945820It’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.
ThanksApril 24, 2018 at 10:41 am #945824Hi 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,
NikkoMay 23, 2018 at 8:42 pm #961197I 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.
May 23, 2018 at 8:48 pm #961201Hey,
@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,
YigitMay 23, 2018 at 9:08 pm #961205Yes, I will call them now and get them to update PHP.
May 23, 2018 at 9:11 pm #961207May 23, 2018 at 9:29 pm #961228PHP has been updated to 7.0.
Do you think that was the issue and are we safe in trying to do an update now?
May 23, 2018 at 9:36 pm #961230Hey,
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,
YigitJuly 22, 2018 at 3:59 pm #988426I 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.
July 23, 2018 at 10:29 am #988635Hi 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,
NikkoSeptember 27, 2018 at 3:06 am #1015070Site 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.
September 27, 2018 at 3:24 pm #1015325Hi 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,
VictoriaSeptember 27, 2018 at 3:41 pm #1015337See below for some of the errors given when I tried the update.
September 27, 2018 at 6:54 pm #1015445Hi AB,
Ok, thank you. Did you try updating via FTP? Please make sure to have a backup done and share FTP credentials.
Best regards,
VictoriaSeptember 27, 2018 at 8:24 pm #1015502I 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.
September 28, 2018 at 6:18 pm #1015839Updated 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.
September 29, 2018 at 8:55 am #1015988Hi 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 -
AuthorPosts
- The topic ‘Site crashes on update to Theme’ is closed to new replies.