PHP 7 compatibility warnings
-
Hello. Love this plugin and want to remain using it but I am going to upgrade to PHP 7 and I got these warnings when checking compatibility:
FILE: /home/makingstarwars/public_html/wp-content/plugins/ad-inserter/ad-inserter.php ----------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES ----------------------------------------------------------------------------------------------------------------------------------------------------- 4343 | WARNING | Targeting a 'switch' control structure with a 'continue' statement is strongly discouraged and will throw a warning as of PHP 7.3. 4350 | WARNING | Targeting a 'switch' control structure with a 'continue' statement is strongly discouraged and will throw a warning as of PHP 7.3. 4357 | WARNING | Targeting a 'switch' control structure with a 'continue' statement is strongly discouraged and will throw a warning as of PHP 7.3. ----------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/makingstarwars/public_html/wp-content/plugins/ad-inserter/includes/phpQuery_52.php ------------------------------------------------------------------------------------------------------------ FOUND 0 ERRORS AND 12 WARNINGS AFFECTING 12 LINES ------------------------------------------------------------------------------------------------------------ 1035 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead 2086 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead 2093 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
I used PHP Compatibility Checker plugin.
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP 7 compatibility warnings’ is closed to new replies.