Theme issues after updating PHP version

Had the site on an older PHP version, then updated it as recommended by Hummingbird. But the new version seems to create some errors within the theme code that make the site inaccessible.

Fatal error: Uncaught Error: [] operator not supported for strings in /path/to/public_html/mydomain.com/wp-content/themes/easyweb/inc/dynamicfiles/dyncss.php:51 Stack trace: ..

  • Majid
    • Recruit

    Hello lamont

    How are you doing ?

    Easyweb theme has some new updates where they have fixed PHP 7 compability and also the errors that dynamiccss.php file is throwing.

    I reverted the site PHP version to 5.4 and it’s working fine now, you still have to enable the plugins that were active before the conflict test.

    From EasyWeb updates log

    v 2.2.1 – 5 August 2017
    - Compatibility: PHP 7.1.7
    - Fixed : Errors in dyncss.php

    So updating the theme should allow you to proceed with the new PHP version without issues.

    Cheers,

    Majid