• Resolved RachelHKay

    (@rachelhkay)


    I’m running the PHP Compatibility Checker plugin to see if there are any plugins that might not be compatible with PHP7 before I upgrade my client’s site now that their hosting has PHP7 available. After running the checker there were warnings about this plugin, so I wanted to check with you to see if this is a false positive, or if maybe the warnings popped up because the version I’m running needs to be updated.

    Here are the results:
    FILE: /public_html/wp-content/plugins/connections/connections.php
    ————————————————————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    ————————————————————————————————————————————-
    180 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword ‘__FILE__’ (since version all)
    ————————————————————————————————————————————-

    FILE: /public_html/wp-content/plugins/connections/vendor/php_class_upload/class.upload.php
    ——————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————–
    2588 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ——————————————————————————————————–

    FILE: /public_html/wp-content/plugins/connections/includes/class.utility.php
    ————————————————————————————————————–
    FOUND 2 ERRORS AFFECTING 1 LINE
    ————————————————————————————————————–
    628 | ERROR | Function eregi() is deprecated since PHP 5.3 and removed since PHP 7.0; Use preg_match instead
    628 | ERROR | Extension ‘ereg’ is deprecated since PHP 5.3 and removed since PHP 7.0; Use pcre instead
    ————————————————————————————————————–

    FILE: /public_html/wp-content/plugins/connections/includes/class.retrieve.php
    —————————————————————————————————————————————————————————-
    FOUND 4 ERRORS AFFECTING 3 LINES
    —————————————————————————————————————————————————————————-
    2951 | ERROR | Indirect access to variables, properties and methods will be evaluated strictly in left-to-right order since PHP 7.0. Use curly braces to remove ambiguity.
    2974 | ERROR | Indirect access to variables, properties and methods will be evaluated strictly in left-to-right order since PHP 7.0. Use curly braces to remove ambiguity.
    2974 | ERROR | Indirect access to variables, properties and methods will be evaluated strictly in left-to-right order since PHP 7.0. Use curly braces to remove ambiguity.
    2977 | ERROR | Indirect access to variables, properties and methods will be evaluated strictly in left-to-right order since PHP 7.0. Use curly braces to remove ambiguity.
    —————————————————————————————————————————————————————————-

    FILE: /public_html/wp-content/plugins/connections/includes/system-info/inc.system-info.php
    ——————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————–
    35 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4
    ——————————————————————————————————–
    Update Available: 8.6.11; Current Version: 8.6.7;

    If it is a false positive, or just because I need to update the plugin, is the current version compatible with PHP7?

Viewing 1 replies (of 1 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    @rachelhkay

    re: Is This Plugin PHP7 Compatible

    Both the version you have installed and the update available are PHP7 compatible. Both were developed and tested on PHP7.1.

    Hope that helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Is This Plugin PHP7 Compatible’ is closed to new replies.