Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #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.7

    #577279

    Hi 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,
    Yigit

    #577335

    Hello Yigit,

    It is a completely fresh install, so I’ll just provide you the credentials.

    Best regards,

    Angela

    #579484

    Hi!

    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!
    Andy

    #579541

    Hello 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,
    Michel

    #581044

    Hey!

    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,
    Andy

    #581070

    Hello 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 Enfold

    But now, it works!! Problem solved! :-)

    Thanks a lot!

    Michel

    #581084

    Hi!

    Great! Let us know if you have any other questions or issues :)

    Best regards,
    Yigit

    #581134

    Sometimes 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.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Php7.0 compatibility?’ is closed to new replies.