-
AuthorPosts
-
March 7, 2021 at 12:28 am #1286122
Hi Support,
I’ve just updated my WordPress site with the latest Enfield theme update.
This seems to have caused the following error:
“There has been a critical error on this website”
The hosting company are saying its the following:
“Hi there,
We have just replied to your ticket, check out the reply below:
Hi there,
It looks like your site is throwing the following error in your error_log anytime the site is accessed:
[06-Mar-2021 21:41:02 UTC] PHP Fatal error: Uncaught Error: Call to undefined function avia_get_option() in /home/voiperne/public_html/dataproof.com.au/wp-content/themes/enfold/header.php:6
Stack trace:
0 /home/voiperne/public_html/dataproof.com.au/wp-includes/template.php(730): require_once()
1 /home/voiperne/public_html/dataproof.com.au/wp-includes/template.php(676): load_template(‘/home/voiperne/…’, true, Array)
2 /home/voiperne/public_html/dataproof.com.au/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
3 /home/voiperne/public_html/dataproof.com.au/wp-content/themes/enfold/index.php(10): get_header()
4 /home/voiperne/public_html/dataproof.com.au/wp-includes/template-loader.php(106): include(‘/home/voiperne/…’)
5 /home/voiperne/public_html/dataproof.com.au/wp-blog-header.php(19): require_once(‘/home/voiperne/…’)
6 /home/voiperne/public_html/dataproof.com.au/index.php(17): require(‘/home/voiperne/…’)
7 {main}
thrown in /home/voiperne/public_html/dataproof.com.au/wp-content/themes/enfold/header.php on line 6
It looks like there is an issue with your theme, I suggest re-installing this one or updating it to ensure this is fixed up.”Does this sound right?
And if so how do I reinstall without losing all my web pages created in Enfold?
Thanks, Martin
March 8, 2021 at 1:46 am #1286259Update:
The 2 updates I installed were:
Wordpress 5.6.1 to 5.6.2
and
Enfold 4.7.6.4 to 4.8.1.
I’ve had to revert to a backup before these updates to recover my site.
March 8, 2021 at 7:13 am #1286319Hi,
Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardMarch 10, 2021 at 6:48 am #1286983Hi, I posted a private reply.
March 11, 2021 at 10:58 am #1287368Hi lovelyjubbly,
The private content is located below the area where you typically write your response (please see below)
Best regards,
NikkoMarch 11, 2021 at 10:19 pm #1287550Hi Nikko,
I already posted the login details into the private area, did you not see it?
I’ll add it again.
March 11, 2021 at 10:23 pm #1287551Added again, what is wrong with this forum?
March 12, 2021 at 4:27 am #1287569Hi lovelyjubbly,
Thanks, we can see the credentials now.
Can you set the account permission to an administrator? so we can inspect the files as well as some of the server settings.Best regards,
NikkoMarch 12, 2021 at 5:31 am #1287580See my private comment
March 12, 2021 at 5:33 am #1287581See my private comment.
March 12, 2021 at 6:22 am #1287585Hi Martin,
Thanks you can remove access now or change password.
I have checked into it your site settings is all good however there may have been some issue during the update (server failure, network issues, etc)
Can you setup a staging site for us instead? basically it’s just a duplicate of your site where we can perform the update without risking your live site.
Here’s a simple tutorial you can follow: https://themeisle.com/blog/wordpress-staging-site/
Also please give us admin credentials only to the staging site.Best regards,
NikkoMarch 12, 2021 at 7:29 am #1287597Staging site created, see private.
March 13, 2021 at 1:22 pm #1287951Hi Martin,
Thanks, I have updated the staging site and I didn’t see any issue.
Please review the staging site first if you can see any issue (WP_DEBUG is turned on).If all is good, please try to update your site again but please backup your site first:
– Site Backup: https://kriesi.at/documentation/enfold/backup-wordpress-site/
– Theme Settings Backup: https://kriesi.at/documentation/enfold/backup-theme-settings/If it still show issues, then please do the following steps instead:
1. Login to ThemeForest and download the Enfold theme, right-click over the downloaded zip file and extract/unzip it.
2. It should generate a new folder, open it and look for the enfold folder
3. Right-click the enfold folder then zip it, here’s a tutorial on how to create a zip file in windows: https://www.howtogeek.com/668409/how-to-zip-and-unzip-files-on-windows-10/ (this should create enfold.zip
4. Log in to WordPress as and Admin.
5. Install and activate a maintenance plugin and put your site in Maintenance mode.
6. Go to Appearance > Themes, switch to a default WordPress theme like TwentyTwenty then delete Enfold.
7. Click on the ADD NEW button.
8. Click on the UPLOAD THEME button.
9. Click BROWSE and choose enfold.zip file
10. Click the INSTALL NOW button and switch to Enfold or your child theme.
11. Remove the maintenance mode then deactivate and remove the maintenance plugin.Best regards,
NikkoMarch 15, 2021 at 5:57 am #1288159Thank you Nikko,
I tried again, this time I updated WordPress, then the 2 built in themes.
I then updated Enfold and it took about 10 mins to update, but it worked.Thanks :)
March 15, 2021 at 6:54 am #1288184Hi Martin,
We’re glad that you have updated the theme successfully :)
Thanks for using Enfold and have a great day!Best regards,
Nikko -
AuthorPosts
- The topic ‘Updating Enfold causing critical error’ is closed to new replies.
