Tagged: fatal error
Site has used Enfold for years. All of a sudden the pages went white. Updated WP core and all plugins. Same problem. So disabled all plugins. Site works happy in twenty fourteen etc. When I attempt to revert to Enfold, it gives the following error. Please help!
Fatal error: Uncaught Error: Function name must be a string in /clientdata/apache-www/h/o/hostcake.com.au/www/wp-content/themes/enfold/framework/php/class-htmlhelper.php:222 Stack trace: #0 /clientdata/apache-www/h/o/hostcake.com.au/www/wp-content/themes/enfold/framework/php/class-htmlhelper.php(131): avia_htmlhelper->render_single_element(Array) #1 /clientdata/apache-www/h/o/hostcake.com.au/www/wp-content/themes/enfold/framework/php/class-adminpages.php(205): avia_htmlhelper->create_container_based_on_slug(Array, ‘avia_active_con…’) #2 /clientdata/apache-www/h/o/hostcake.com.au/www/wp-includes/class-wp-hook.php(298): avia_adminpages->render_page(”) #3 /clientdata/apache-www/h/o/hostcake.com.au/www/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #4 /clientdata/apache-www/h/o/hostcake.com.au/www/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /clientdata/apache-www/h/o/hostcake.com.au/www/wp-admin/admin.php(222): do_action(‘toplevel_page_a…’) #6 {main} thrown in /clientdata/apache-www/h/o/hostcake.com.au/www/wp-content/themes/enfold/framework/php/class-htmlhelper.php on line 222
I reuploaded the theme and it’s working now thanks.
What do you mean you reuploading the theme? didn’t you lose your current website / design?
Hi creativepassion,
Great, glad you got it working and thanks for the feedback.
@svmmarcom, you won’t lose anything unless you delete or overwrite your database.
Best regards,
Rikard