PHP7 Compatibility Issues
-
Hi,
I am working on the migration of my website to php 7. In order to analyse my site, I ran a test on all plugins and themes installed using “PHP Compatibility Checker” plugin.
The test revealed a few of issues with WP Super Cache that I wanted to share with you. This is the report on your plugin :FILE: /…/wp-content/plugins/wp-super-cache/rest/class.wp-super-cache-rest-update-settings.php
———————————————————————————————————————–
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————————–
652 | ERROR | Global with variable variables is not allowed since PHP 7.0
———————————————————————————————————————–FILE: /…/wp-content/plugins/wp-super-cache/wp-cache.php
——————————————————————————————————
FOUND 2 ERRORS AND 3 WARNINGS AFFECTING 4 LINES
——————————————————————————————————
235 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4
235 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4
240 | WARNING | INI directive ‘safe_mode_gid’ is deprecated since PHP 5.3 and removed since PHP 5.4
4008 | ERROR | Global with variable variables is not allowed since PHP 7.0
4025 | ERROR | Global with variable variables is not allowed since PHP 7.0
——————————————————————————————————Do you think your can update the code in the next version ?
Thank you,
Valéry
- The topic ‘PHP7 Compatibility Issues’ is closed to new replies.