• Resolved catmaniax

    (@catmaniax)


    Hello!

    I’d like to ask if the plugin is fully compatible and works properly with PHP 7.1 and PHP 7.2 because I’m in the process of upgrading.

    I ran the PHP Compatibility Checker plugin and I got the two following errors:

    FILE: …/www/wp-content/plugins/query-monitor/collectors/environment.php
    ————————————————————————————————————
    FOUND 1 ERROR AFFECTING 1 LINE
    ————————————————————————————————————
    127 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    ————————————————————————————————————

    FILE: …/www/wp-content/plugins/query-monitor/wp-content/db.php
    ————————————————————————————————————
    FOUND 1 ERROR AFFECTING 1 LINE
    ————————————————————————————————————
    119 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    ————————————————————————————————————

    Please let me know.
    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Please take a look at the lines of code that have been flagged. You’ll see that they’re wrapped in conditional logic. So yes, this plugin is compatible with the latest versions of PHP.

    Thread Starter catmaniax

    (@catmaniax)

    Thank you for the reply ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP 7.1 & 7.2 compatible?’ is closed to new replies.