Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1204724

    I received the following error after updating PHP to 7 and WP. The old Enfold on the site was 3.0.4 (I beleive). I am trying to update the Enfold theme. I thought about removing the theme and re-installing it, but fear that I will loose all the customization on the site.
    Error –

    Enfold Theme Options
    Show all Options [+]Save all changes

    Fatal error: Uncaught Error: Function name must be a string in /data/6/5/45/31/5208846/user/6252601/htdocs/wp-content/themes/enfold/framework/php/class-htmlhelper.php:222 Stack trace: #0 /data/6/5/45/31/5208846/user/6252601/htdocs/wp-content/themes/enfold/framework/php/class-htmlhelper.php(131): avia_htmlhelper->render_single_element(Array) #1 /data/6/5/45/31/5208846/user/6252601/htdocs/wp-content/themes/enfold/framework/php/class-adminpages.php(205): avia_htmlhelper->create_container_based_on_slug(Array, ‘avia_active_con…’) #2 /data/6/5/45/31/5208846/user/6252601/htdocs/wp-includes/class-wp-hook.php(287): avia_adminpages->render_page(”) #3 /data/6/5/45/31/5208846/user/6252601/htdocs/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #4 /data/6/5/45/31/5208846/user/6252601/htdocs/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #5 /data/6/5/45/31/5208846/user/6252601/htdocs/wp-admin/admin.php(254): do_action(‘toplevel_page_a…’) #6 {main} thrown in /data/6/5/45/31/5208846/user/6252601/htdocs/wp-content/themes/enfold/framework/php/class-htmlhelper.php on line 222
    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    Learn more about debugging in WordPress.

    • This topic was modified 5 years, 10 months ago by joshinkell. Reason: website crash!
    #1204993

    Hey joshinkell,

    The old version of Enfold will not work with php7, you need to downgrade to php5.6.3, update the theme and then upgrade php to php7.

    If you need further assistance please let us know.
    Best regards,
    Victoria

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