I just tested PHP 7 to create a compatibility list of themes and plugins.
Enfold throws an error:
[error] 10811#10811: *59 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Function name must be a string in /htdocs/wp-content/themes/enfold/framework/php/class-style-generator.php:123
Stack trace:
#0 /htdocs/wp-includes/plugin.php(503): avia_style_generator->create_styles(”)
#1 /htdocs/wp-includes/general-template.php(2270): do_action(‘wp_head’)
#2 /htdocs/wp-content/themes/enfold/header.php(51): wp_head()
#3 /htdocs/wp-includes/template.php(555): require_once(‘/var/www/debug….’)
#4 /htdocs/wp-includes/template.php(514): load_template(‘/var/www/debug….’, true)
#5 /htdocs/wp-includes/general-template.php(45): locate_template(Array, true)
#6 /htdocs/wp-content/themes/enfold/template-builder.php(12): get_header()
#7 /htdocs/wp-content/themes/enfold/config-template” while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: _, request: “GET / HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9002”, host: “xxx.xxx.xxx”, referrer: “https://xxx.xxx.xxx/page-1/”
Happy debuging ;-)
For your convenience: https://kriesi.at/support/topic/php-7-content-section-error/#post-547605
Hi!
I have added the issue to our git.
Thanks a lot for letting us know! :-)
Cheers!
Basilis