Hi,
I have a website down. Turns out it’s been down since Thursday but all attempts to restore are getting the same error. Could you please advise? TIA Anna
Fatal error: Uncaught Error: Function name must be a string in /home/indust94/public_html/wp-content/themes/enfold/framework/php/class-style-generator.php:123 Stack trace: #0 /home/indust94/public_html/wp-includes/class-wp-hook.php(286): avia_style_generator->create_styles(”) #1 /home/indust94/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /home/indust94/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/indust94/public_html/wp-includes/general-template.php(2614): do_action(‘wp_head’) #4 /home/indust94/public_html/wp-content/themes/enfold/header.php(49): wp_head() #5 /home/indust94/public_html/wp-includes/template.php(688): require_once(‘/home/indust94/…’) #6 /home/indust94/public_html/wp-includes/template.php(647): load_template(‘/home/indust94/…’, true) #7 /home/indust94/public_html/wp-includes/general-template.php(41): locate_template(Array, true) #8 /home/indust94/public_html/wp-content/themes/enfold/template-builder.php(12): get_header() #9 /home/i in /home/indust94/public_html/wp-content/themes/enfold/framework/php/class-style-generator.php on line 123
My advice is to re-upload the entire enfold folder. Hope that works ;)
Hi Anna
Like @insanityNL already mentioned I would re-upload the whole enfold folder via FTP and then check again.
Cheers
Michael
Thanks so much @insanityNL and @michaelH – that fixed the problem nicely!
Hi,
Happy you got it short out.
Best regards,
Basilis