Php 7
-
Hello,
is your plugin ready for PHP7?
The php7-checker shows this error:
FILE: /www/htdocs/w011b350/de/wp-content/plugins/wp-staging/includes/admin/tools.php
————————————————————————————————–
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
————————————————————————————————–
156 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4.
415 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4.
————————————————————————————————–FILE: /www/htdocs/w011b350/de/wp-content/plugins/wp-staging/includes/admin/template-functions.php
————————————————————————————————————————–
FOUND 1 ERROR AFFECTING 1 LINE
————————————————————————————————————————–
1404 | ERROR | Using ‘break’ outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
————————————————————————————————————————–FILE: /www/htdocs/w011b350/de/wp-content/plugins/wp-staging/includes/libraries/browser.php
———————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————-
220 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
———————————————————————————————-Thank you and best regards
Simon
- The topic ‘Php 7’ is closed to new replies.