php7 errors with this plugin
-
Hi, I have checked your plugin with PHP Compatibility Checker plugin. the plugin found some errors to run with php7:
FILE: …/plugins/connections/vendor/php_class_upload/class.upload.php
———————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————-
2588 | ERROR | Use of deprecated PHP4 style class constructor is not supported since PHP 7
———————————————————————————————————-FILE: …/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 from PHP 5.3 and forbidden from PHP 5.4.
———————————————————————————————————-FILE: …/plugins/connections/includes/class.metabox-api.php
—————————————————————————————————————————-
FOUND 5 ERRORS AFFECTING 5 LINES
—————————————————————————————————————————-
1618 | ERROR | ‘string’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
1623 | ERROR | ‘string’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
1633 | ERROR | ‘string’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
1638 | ERROR | ‘string’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
1643 | ERROR | ‘string’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
—————————————————————————————————————————-FILE: …/plugins/connections/includes/class.sanitize.php
———————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————————————-
78 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword ‘string’ (since version 7.0)
———————————————————————————————————————————-FILE: …/plugins/connections/includes/class.utility.php
—————————————————————————————————————————————-
FOUND 2 ERRORS AFFECTING 1 LINE
—————————————————————————————————————————————-
551 | ERROR | Extension ‘ereg’ is deprecated since PHP 5.3 and removed since PHP 7.0 – use pcre instead.
551 | ERROR | The use of function eregi is discouraged from PHP version 5.3 and forbidden from PHP version 7.0; use preg_match instead
—————————————————————————————————————————————-
- The topic ‘php7 errors with this plugin’ is closed to new replies.