• Finnwulf

    (@finnwulf)


    hi

    Does the plugin support php 7.2?

    I’m getting an error with PHP Compatibility Checker:
    FILE: /wp-content/plugins/adaptive-images/adaptive-images-debug.php
    ————————————————————————————————————
    FOUND 1 ERROR AFFECTING 1 LINE
    ————————————————————————————————————
    189 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    ————————————————————————————————————

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Takis Bouyouris

    (@nevma)

    Hello, there,

    Yes, the plugin is totally compatible with PHP 7+. Actually the line that your compatibility checker mentions is doing exactly that: it checks the MySQL extension version you are using in order to report it correctly for debugging purposes. We do that because we still do have to support older versions as well.

    This is line 189 of adaptive-images-debug.php:

    
    $debug['MySQL'] = esc_html( empty( $wpdb->use_mysqli ) ? mysql_get_server_info() : mysqli_get_server_info( $wpdb->dbh ) );
    
    

    So, I wouldn’t worry much about that!

    Cheers,
    Takis

Viewing 1 replies (of 1 total)
  • The topic ‘php 7.2 – Extension ‘mysql_’ is deprecated error’ is closed to new replies.