Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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/avia

    #1338563
    This reply has been marked as private.
    #1338564

    Do 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

    #1338565

    No child theme in use unfortunately.

    #1338566

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

    #1338567

    My 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!

    #1338568

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

    #1338569

    Update: 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)

    #1338570

    I agree – will probably need to test the updates on a staging environment before pushing it live. Thanks for the suggestions

    #1338623

    Hi 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

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