• Resolved sorensenss

    (@sorensenss)


    WPEngine’s PHP7 Compatibility checker is reporting a few PHP7 Errors/Warnings.

    FILE: /wp-content/plugins/fakerpress/modules/comment.php
    ---------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------------------------------------
     148 | ERROR | 'object' is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
    ---------------------------------------------------------------------------------------------------------------------------
    
    FILE: /wp-content/plugins/fakerpress/modules/term.php
    ---------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------------------------------------
     127 | ERROR | 'object' is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
    ---------------------------------------------------------------------------------------------------------------------------
    
    FILE: /wp-content/plugins/fakerpress/modules/meta.php
    ----------------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ----------------------------------------------------------------------------------------------------------------------------------
     40 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword 'object' (since version 7.0)
    ----------------------------------------------------------------------------------------------------------------------------------
    
    FILE: /wp-content/plugins/fakerpress/modules/post.php
    ---------------------------------------------------------------------------------------------------------------------------
    FOUND 2 ERRORS AFFECTING 2 LINES
    ---------------------------------------------------------------------------------------------------------------------------
     179 | ERROR | 'object' is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
     189 | ERROR | 'object' is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
    ---------------------------------------------------------------------------------------------------------------------------
    
    FILE: /wp-content/plugins/fakerpress/modules/user.php
    ---------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------------------------------------
     155 | ERROR | 'object' is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
    ---------------------------------------------------------------------------------------------------------------------------
    
    FILE: /wp-content/plugins/fakerpress/inc/vendor/Faker/src/Faker/Provider/el_GR/Company.php
    ----------------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ----------------------------------------------------------------------------------------------------------------------------------
     80 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword 'object' (since version 7.0)
    ----------------------------------------------------------------------------------------------------------------------------------
Viewing 1 replies (of 1 total)
  • Plugin Author Gustavo Bordoni

    (@bordoni)

    Hi sorensenss,

    Sorry for the delay on my answer, I’m almost sure that these are not Bugs on the current codebase, because I’ve worked with it on PHP7 but I will make sure to remove these errors on the next release.

    Thanks for reporting it.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP7 Compatibility’ is closed to new replies.