• Resolved robmcp

    (@robmcp)


    After running WordPress’ compatibility checker plug in, this plug in reports the following for PHP7.2 compatibility testing…

    FILE: */wp-content/plugins/tablepress/libraries/excel-reader.class.php
    ————————————————————————————————————————————————————-
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ————————————————————————————————————————————————————-
    222 | WARNING | Method name “OLERead::__readData” is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
    240 | WARNING | Method name “OLERead::__readPropertySets” is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
    ————————————————————

    FILE: */wp-content/plugins/tablepress/views/view-about.php
    ———————————————————-
    FOUND 2 ERRORS AFFECTING 2 LINES

    Has anyone come up against this before, is there a fix, will it stop Tablepress working ( doesn’t seem to ) Can it be ignored?
    Thanks in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    No worries, everything’s compatible here, please see https://wordpress.org/support/topic/is-tablepress-compatible-with-php-7-and-php-7-1/

    Regards,
    Tobias

    Hello Tobias,

    We have your plugin installed on one of our client’s website, and Compatibility checker is giving 2 error on PHP 7.2

    FILE: /nas/content/live/gamco72/wp-content/plugins/tablepress/views/view-about.php
    ————————————————————————————————————
    FOUND 2 ERRORS AFFECTING 2 LINES
    ————————————————————————————————————
    186 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    187 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    ————————————————————————————————————

    FILE: /nas/content/live/gamco72/wp-content/plugins/tablepress/libraries/excel-reader.class.php
    ————————————————————————————————————————————————————-
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ————————————————————————————————————————————————————-
    222 | WARNING | Method name “OLERead::__readData” is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
    240 | WARNING | Method name “OLERead::__readPropertySets” is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
    ————————————————————————————————————————————————————-

    I saw your comment above, and it say it is compatible with PHP 7.1, we’re updating our client’s environment to PHP 7.2

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no worries, the same answer still applies 🙂
    TablePress is compatible with all versions of PHP 7.x.

    Regards,
    Tobias

    Thread Starter robmcp

    (@robmcp)

    Thanks for the very FAST reply Tobias. I will ignore the warnings.
    I had not noticed anything odd, but just wanted to confirm all ok.
    Cheers.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Compatibility checker (PHP 7 etc) gives an error’ is closed to new replies.