• Resolved zigsp8

    (@zigsp8)


    Siteground’s SG Optimizer/PHP Configure plugin claims that Smush is not compatible with PHP 7.1.

    Is this correct? See error description below.

    FILE: ../wp-content/plugins/wp-smushit/lib/class-wp-smush-recommender.php
    ---------------------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------------------------------------------------
     80 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword '__dir__' (since PHP version 5.3)
    ---------------------------------------------------------------------------------------------------------------------------------------
    
    FILE: .../wp-content/plugins/wp-smushit/lib/class-wp-smush-admin.php
    ----------------------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ----------------------------------------------------------------------------------------------------------------------------------------
     374 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword '__dir__' (since PHP version 5.3)
    ----------------------------------------------------------------------------------------------------------------------------------------
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP 7.1Compatibility’ is closed to new replies.