Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1145009

    Fatal error: Uncaught Error: Function name must be a string in /var/www/html/wp-content/themes/enfold/framework/php/class-style-generator.php:123 Stack trace: #0 /var/www/html/wp-includes/class-wp-hook.php(286): avia_style_generator->create_styles(”) #1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #3 /var/www/html/wp-includes/general-template.php(2745): do_action(‘wp_head’) #4 /var/www/html/wp-content/themes/enfold-child/header.php(47): wp_head() #5 /var/www/html/wp-includes/template.php(722): require_once(‘/var/www/html/w…’) #6 /var/www/html/wp-includes/template.php(671): load_template(‘/var/www/html/w…’, true) #7 /var/www/html/wp-includes/general-template.php(41): locate_template(Array, true) #8 /var/www/html/wp-content/themes/enfold/template-builder.php(12): get_header() #9 /var/www/html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php(440): require_on in /var/www/html/wp-content/themes/enfold/framework/php/class-style-generator.php on line 123

    we have the above error on our staging platform, any assistance welcome, thanks.

    • This topic was modified 5 years, 1 month ago by Warnstar.
    #1145214

    Hey Warnstar,

    Sorry for the problem. I see that you are running an old version of the theme, could you try to update to the latest version (4.6.3.1) to see if that helps please? The update to 4.6.x has to be done manually from the version you are running, please refer to my replies in this thread: https://kriesi.at/support/topic/enfold-4-5-theme-update-update-failed-download-failed-a-valid-url-was-not-pro/#post-1021541

    You can either update manually via FTP: https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update, or use a plugin to upload the theme zip file: https://wordpress.org/plugins/update-theme-and-plugins-from-zip-file/

    If that doesn’t work then please try to delete the whole theme folder, then replace it with the new version. Make sure that you have backups of the site before starting updating.

    After you have updated then try to activate the Classic Editor in the main page of the theme options.

    Also please read this after you have updated: https://kriesi.at/documentation/enfold/theme-registration/

    Best regards,
    Rikard

    #1145872

    When I try to upadte normally I get this message:
    “The link you followed has expired. Please try again.”

    When I try again with the plugin I get the same:
    “The link you followed has expired. Please try again.”

    When I tried via ftp everything broke, no access dashboard at all. I have replaced the old theme now and have dashboard again. But I am out of ideas.

    What should I do.

    #1146014

    Hi,

    We can help you out with updating, though we need a verification that you have backups of the site in case something should go wrong?

    Best regards,
    Rikard

    #1146110

    thanks for the offer Rikard, the site linked is the backup/staging platform, go ahead but keep a record of what was done, please.

    • This reply was modified 5 years, 1 month ago by Warnstar.
    #1146335

    Hi,

    Thanks for the update, so maybe it’s better if you do it yourself then? If you want to do it on the live site too. All you need to do is to create a new folder for the theme, enfold_new, for instance. Then upload the new version to that folder. Then you can rename the old version to enfold_old and the new version to enfold only. That should work for updating your site.

    Best regards,
    Rikard

    #1146885

    thanks, home page is now working.

    #1147128

    Hi,

    Great, I’m glad that you got it working. Please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

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