• Resolved danielmelnechuk

    (@danielmelnechuk)


    HI,

    Installed Health Check on recommendation from somewhere. Site is running WP 4.9.6, PHP 5.6.

    Want to move to PHP 7.x. Installed PHP Compatibility Check plugin. Report says Health Check is not compatible. I looked for PHP compatibility on your plugin page and couldn’t find anything.

    If Health Check not compatible with PHP 7.x, do you plan to make it compatible, and if so when?

    Here is what PHP Compatibility Check plugin reported for your plugin:

    FILE: /wp-content/plugins/health-check/pages/health-check.php
    ————————————————————————————————————
    FOUND 2 ERRORS AFFECTING 2 LINES
    ————————————————————————————————————
    27 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    247 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    ————————————————————————————————————

    FILE: /wp-content/plugins/health-check/includes/class-health-check-debug-data.php
    ——————————————————————————————————————-
    FOUND 2 ERRORS AFFECTING 2 LINES
    ——————————————————————————————————————-
    478 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    488 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    ——————————————————————————————————————-

    Thanks!

    Peace,
    Dan

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Marius L. J.

    (@clorith)

    Hi,

    The plugin works fine with every version of PHP all the way up to 7.2 (the plugin you used to test with unfortunately does not take into account code made for backwards compatibility, we do have a ticket waiting on them to whitelist us to avoid those false warnings ?? )

    Thread Starter danielmelnechuk

    (@danielmelnechuk)

    Hi!

    Thanks for the fast reply! Yeah, running lint on code branches not used does that. Hope you get whitelisted.

    Peace,
    Dan

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is PHP 7.x supported?’ is closed to new replies.