Incompatibility with PHP 7?
-
Hi there, I’m using the PHP Compatibility Checker plugin and I’m seeing Ad Inserter is the only plugin incompatible with PHP 7. Is this a false positive or should I really not upgrade?
Here’s the report it’s giving me:
FILE: /wp-content/plugins/ad-inserter/includes/adsense-api.php ---------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------------------------- 1 | WARNING | File has mixed line endings; this may cause incorrect results ---------------------------------------------------------------------------------------- FILE: /wp-content/plugins/ad-inserter/includes/editor.php ----------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------------------- 1 | WARNING | File has mixed line endings; this may cause incorrect results ----------------------------------------------------------------------------------- FILE: /wp-content/plugins/ad-inserter/includes/phpQuery.php -------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 2 ERRORS AND 3 WARNINGS AFFECTING 5 LINES -------------------------------------------------------------------------------------------------------------------------------------------------------------------- 2233 | WARNING | Method name "phpQueryObject::__pseudoClassParam" is discouraged; PHP has reserved all method names with a double underscore prefix for future use 2469 | WARNING | Method name "phpQueryObject::__loadSuccess" is discouraged; PHP has reserved all method names with a double underscore prefix for future use 4209 | ERROR | Function split() is deprecated since PHP 5.3 and removed since PHP 7.0; Use preg_split() instead 4277 | WARNING | Method name "phpQueryObject::__dumpTree" is discouraged; PHP has reserved all method names with a double underscore prefix for future use 5639 | ERROR | Using 'break' outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0 --------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thank you,
Chris
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Incompatibility with PHP 7?’ is closed to new replies.