-
AuthorPosts
-
February 3, 2016 at 12:01 pm #577060
Hi,
It seems Enfold is not PHP7.0 compatible.
Upon activating the theme I get these errors:Notice: Array to string conversion in /var/www/html/wp-content/themes/enfold/framework/php/class-style-generator.php on line 123
Notice: Undefined property: avia_style_generator::$Array in /var/www/html/wp-content/themes/enfold/framework/php/class-style-generator.php on line 123
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/plugin.php(525): avia_style_generator->create_styles(”) #1 /var/www/html/wp-includes/general-template.php(2434): do_action(‘wp_head’) #2 /var/www/html/wp-content/themes/enfold/header.php(49): wp_head() #3 /var/www/html/wp-includes/template.php(562): require_once(‘/var/www/html/w…’) #4 /var/www/html/wp-includes/template.php(521): load_template(‘/var/www/html/w…’, true) #5 /var/www/html/wp-includes/general-template.php(45): locate_template(Array, true) #6 /var/www/html/wp-content/themes/enfold/index.php(9): get_header() #7 /var/www/html/wp-includes/template-loader.php(89): include(‘/var/www/html/w…’) #8 /var/www/html/wp-blog-header.php(16): require_once(‘/var/www/html/w…’) #9 /var/www/html/index.php(17): require(‘/var/www/html/w…’) #10 {main} thrown in /var/www/html/wp-content/themes/enfold/framework/php/class-style-generator.php on line 123
Environment:
Ubuntu
Apache
Php7.0
Wordpress 4.4.1
Enfold 3.4.7February 3, 2016 at 7:28 pm #577279Hi avdenbroek!
Can you please try re-updating the theme via FTP and overwrite all files – http://kriesi.at/documentation/enfold/updating-your-theme-files/? If that does not help, do you mind creating a temporary admin login and posting it here privately?
Best regards,
YigitFebruary 3, 2016 at 8:51 pm #577335Hello Yigit,
It is a completely fresh install, so I’ll just provide you the credentials.
Best regards,
Angela
February 8, 2016 at 10:54 am #579484Hi!
make sure to use newest WordPress version. Do you get errors when activating a default WordPress theme as well? please let us know about your results.
Cheers!
AndyFebruary 8, 2016 at 12:47 pm #579541Hello Andy:
I’m running the newest WordPress version. (4.4.2)
The active theme is “Twenty sixteen”, I get zero errors when I use that theme.
Furthermore: there are no errors on “Twenty Fifteen” or “Twenty Thirteen”Kind regards,
MichelFebruary 10, 2016 at 12:21 pm #581044Hey!
hm Enfold should be compatible with php 7. So there might be some corrupted files, so please delete all theme files completely via FTP, before installing a fresh copy from your themeforest account: http://kriesi.at/documentation/enfold/install-enfold-over-ftp/
Regards,
AndyFebruary 10, 2016 at 1:00 pm #581070Hello Andy,
Just did, for the third time:
– delete enfold folder via FTP
– re-downloaded current enfold version (installable version) 3.4.7 from Themeforest
– unpacked and uploaded it via FTP
– activated EnfoldBut now, it works!! Problem solved! :-)
Thanks a lot!
Michel
February 10, 2016 at 1:15 pm #581084Hi!
Great! Let us know if you have any other questions or issues :)
Best regards,
YigitFebruary 10, 2016 at 2:25 pm #581134Sometimes i use for a new test environment old mysql databases.
so often conflicts arise from that. so best is to use a completely new database or to go in mysql and erase all tables before.
Often people do not even change table prefix – so in might be possible that there are some entries are not overwritten by new one.
The folders are one thing to avoid conflicts. -
AuthorPosts
- The topic ‘Php7.0 compatibility?’ is closed to new replies.