Potential errors with PHP 7.0
-
My webhost has recently updated to PHP 7.0 and provided a plugin to make sure my WordPress site was compatible. Despite PHP 5.4 (or higher)/PHP 7.0 (or higher) being listed under requirements, my webhost’s tool identified the following potential errors:
FILE: /home/…/public_html/wp-content/plugins/wp-piwik/proxy/piwik.php
—————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
—————————————————————————————-
98 | ERROR | INI directive ‘magic_quotes_runtime’ is deprecated since PHP 5.3 and removed since PHP 5.4.
—————————————————————————————-FILE: /home/…/public_html/wp-content/plugins/wp-piwik/classes/WP_Piwik.php
—————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
—————————————————————————————-
353 | ERROR | Using ‘break’ outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
—————————————————————————————-I’m unable to use the tool to switch over to PHP 7.0 until no potential errors are detected. Thanks in advance for your help.
The topic ‘Potential errors with PHP 7.0’ is closed to new replies.