Tagged: critical error
-
AuthorPosts
-
February 3, 2022 at 1:06 am #1338561
Background:
I tried to update the theme and it returned a critical error.
I then tried to restore a backup and this is the error that I came across.
Now, I am stuck in recovery mode with no theme active and I have students logging onto the site in the next 12 hours. Please help :(
Error Details
=============
An error of type E_ERROR was caused in line 628 of the file /usr/www/users/learnsaxrb/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/columns/columns.php. Error message: Uncaught Error: Call to undefined method Avia_Popup_Templates::get_border_styles_options() in /usr/www/users/learnsaxrb/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/columns/columns.php:628
Stack trace:
#0 /usr/www/users/learnsaxrb/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(1088): avia_sc_columns->register_dynamic_templates()
#1 /usr/www/users/learnsaxrb/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(98): aviaShortcodeTemplate->extra_config()
#2 /usr/www/users/learnsaxrb/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/columns/columns.php(128): aviaShortcodeTemplate->__construct(Object(AviaBuilder))
#3 /usr/www/users/learnsaxrb/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php(1532): avia_sc_columns->__construct(Object(AviaBuilder))
#4 /usr/www/users/learnsaxrb/wp-content/themes/enfold/config-templatebuilder/aviaFebruary 3, 2022 at 1:11 am #1338563This reply has been marked as private.February 3, 2022 at 1:16 am #1338564Do you use Enfold Child Theme? If so, I would download a fresh installation file of Enfold and replace it with the damaged one via ftp.
https://kriesi.at/documentation/enfold/install-enfold-theme/#ftp-install
February 3, 2022 at 1:19 am #1338565No child theme in use unfortunately.
February 3, 2022 at 1:25 am #1338566Do you have done any changes on the files? As I can see all errors are located in /config-templatebuilder/
Maybe you want to try to replace the folder only? If you have a backup, there should be no risk. But I can’t guarantee anything, because I don’t know your installation / backup. I’m just participant here.February 3, 2022 at 1:28 am #1338567My last ditch effort (which I am currently busy doing) is to replace all folders from a backup taken 3 days ago when the site was 100%. If that does not work – then I don’t really have a clue as to what else to do. Will keep you posted – and thanks for participating!
February 3, 2022 at 1:43 am #1338568A full backup contains all files + database. When you just replace the files, your backup is probably not working, because it’s still connected to the new database version.
If you have all files + database from the last working version, I would create a sub domain and install the full backup.
Without ftp and admin access to your website its hard to figure out. When I have issues like that, I do a clean install of WordPress and Enfold and connect my database.
February 3, 2022 at 1:48 am #1338569Update: Swapping all the files from my previous backup worked but my Enfold Theme Version is on 4.7.2 (previous website manager just did not bother updating the theme or plugins)
February 3, 2022 at 1:49 am #1338570I agree – will probably need to test the updates on a staging environment before pushing it live. Thanks for the suggestions
February 3, 2022 at 6:38 am #1338623Hi 19digital,
Thanks for the login details. I had a look at your site, and it seems like you have restored a backup, and that your site is working as it should? If you should need further help with this, then please try copying the site to a staging area, and update there first. If you have server error logs, then please share them with us as well.
Thanks to @dern1ck for helping out :-)
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.