• Resolved SimonNo

    (@simonno)


    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    I got the same.

    I hope the author either fixes this or checks to see if it isn’t really a problem.

    Thanks

    Cathy

    Plugin Author Rene Hermenau

    (@renehermi)

    This is no problem for php7 but will be fixed with next update soon.

    Thanks for the info! I tried and failed to implement 7 on my site. The only other error besides this one is an error with my theme. Looking forward to the update.

    Cathy

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Php 7’ is closed to new replies.