• Resolved VentureCore

    (@manakio2k)


    We are upgrading to PHP 7 and it looks like we’re not going to be able to use this plugin anymore ??

    wp-content/plugins/inline-google-spreadsheet-viewer/lib/vistable.php
    FOUND 11 ERRORS AFFECTING 11 LINES
    168 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    1052 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    1061 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    1063 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    1065 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    1215 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    1216 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    1217 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    1265 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    1268 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    1273 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead

    Found using ‘PHP Compatibility Checker’

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

    (@meitar)

    Hmm, this is a vendor’ed library, thanks for alerting me to this. I’ve made a note in the project issue tracker but may not be able to get to this in a while. The class causing the errors is solely used for Google Query Language parsing of CSV files (and not Google Sheets), so if you wanted to patch your install to remove loading this class, you’d still be able to use the vast majority of this plugin’s features.

    Plugin Author Meitar

    (@meitar)

    @VentureCore, have a look at the php7-compat branch for this plugin on its issue tracker. Please download and let me know if this latest development copy works for you with your PHP 7 setup. This branch ports the old code from the MySQL extension to the MySQLi extension, so you will also need to ensure that the MySQLi extension is available on your system (it likely already is).

    If you report no problems I’ll merge this into the main plugin codebase. Thanks again for alerting me to the issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not Compatible With PHP 7.0’ is closed to new replies.