Is This Plugin PHP7 Compatible
-
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?
- The topic ‘Is This Plugin PHP7 Compatible’ is closed to new replies.