PHP7 bug
-
Please change split to preg_split and change __class to some__class to get php7 support.
FILE: wp-content/plugins/wp-appbox/inc/queryelements.php
——————————————————————————————————————————————————————–
FOUND 1 ERROR AND 4 WARNINGS AFFECTING 5 LINES
——————————————————————————————————————————————————————–
2254 | WARNING | Method name “phpQueryObject::__pseudoClassParam” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2490 | WARNING | Method name “phpQueryObject::__loadSuccess” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2654 | WARNING | Method name “phpQueryObject::___wrapAllCallback” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
4230 | ERROR | The use of function split is discouraged from PHP version 5.3 and forbidden from PHP version 7.0; use preg_split instead
4298 | WARNING | Method name “phpQueryObject::__dumpTree” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
——————————————————————————————————————————————————————–FILE: wp-content/plugins/wp-appbox/inc/getappinfo.class.php
————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
————————————————————————————————–
185 | WARNING | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
————————————————————————————————–FILE: wp-content/plugins/wp-appbox/inc/queryelements.php.bak.php
——————————————————————————————————————————————————————–
FOUND 1 ERROR AND 4 WARNINGS AFFECTING 5 LINES
——————————————————————————————————————————————————————–
2211 | WARNING | Method name “phpQueryObject::__pseudoClassParam” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2447 | WARNING | Method name “phpQueryObject::__loadSuccess” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2611 | WARNING | Method name “phpQueryObject::___wrapAllCallback” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
4187 | ERROR | The use of function split is discouraged from PHP version 5.3 and forbidden from PHP version 7.0; use preg_split instead
4255 | WARNING | Method name “phpQueryObject::__dumpTree” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
——————————————————————————————————————————————————————–
- The topic ‘PHP7 bug’ is closed to new replies.