Title: PHP7 Compatibility
Last modified: October 17, 2016

---

# PHP7 Compatibility

 *  Resolved [prowo24](https://wordpress.org/support/users/prowo24/)
 * (@prowo24)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php7-compatibility-42/)
 * Hello,
 * I get the following issues displayed by the plugin “PHP7 compatibility checker”.
 *     ```
       FILE: /is/htdocs/wp11082020_GHQ53PBT44/www/portal/wp-content/plugins/tablepress/libraries/excel-reader.class.php
       ------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
       ------------------------------------------------------------------------------------------------------------------------------------------------------------
        223 | WARNING | Method name "OLERead::__readData" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
        241 | WARNING | Method name "OLERead::__readPropertySets" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
       ------------------------------------------------------------------------------------------------------------------------------------------------------------
   
       FILE: /is/htdocs/wp11082020_GHQ53PBT44/www/portal/wp-content/plugins/tablepress/libraries/simplexlsx.class.php
       --------------------------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
       --------------------------------------------------------------------------------------------------------------
        602 | WARNING | The use of function dl is discouraged from PHP version 5.3
        604 | WARNING | The use of function dl is discouraged from PHP version 5.3
       --------------------------------------------------------------------------------------------------------------
   
       FILE: /is/htdocs/wp11082020_GHQ53PBT44/www/portal/wp-content/plugins/tablepress/views/view-about.php
       --------------------------------------------------------------------------------------------------------------
       FOUND 2 ERRORS AFFECTING 2 LINES
       --------------------------------------------------------------------------------------------------------------
        185 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0 - use mysqli instead.
        186 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0 - use mysqli instead.
       --------------------------------------------------------------------------------------------------------------
       ```
   

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php7-compatibility-42/#post-8319013)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * There is nothing to worry about. TablePress is fully compatible to PHP 7. For
   details on those warnings that you are probably seeing in the compatibility checker,
   please see [https://wordpress.org/support/topic/tablepress-php-70-compatibility/](https://wordpress.org/support/topic/tablepress-php-70-compatibility/)
 * Regards,
    Tobias
 * P.S.: Please note that the same question was asked 7 posts below yours already.
 *  [mustermann](https://wordpress.org/support/users/mustermann/)
 * (@mustermann)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php7-compatibility-42/#post-8324604)
 * I the PHP7 checker found 2 Errors in the plugin:
 * FOUND 2 ERRORS AFFECTING 2 LINES
    ————————————————————————————————————– 185 |
   ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 
   7.0 – use mysqli instead. 186 | ERROR | Extension ‘mysql_’ is deprecated since
   PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
 * thank you for help
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php7-compatibility-42/#post-8325004)
 * Hi [@mustermann](https://wordpress.org/support/users/mustermann/),
 * please see the link that I posted above for details on exactly these two error
   messages, thanks!
    [https://wordpress.org/support/topic/tablepress-php-70-compatibility/](https://wordpress.org/support/topic/tablepress-php-70-compatibility/)
 * Regards,
    Tobias
 *  [mustermann](https://wordpress.org/support/users/mustermann/)
 * (@mustermann)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php7-compatibility-42/#post-8325010)
 * Thanks Tobias for the reply, please post it to the support “PHP7 compatibility
   checker” to fix the tool.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php7-compatibility-42/#post-8325041)
 * Hi,
 * well, their tool is working totally fine! Their report is absolutely correct!
   It’s just that they can not detect (because from what I know they do static code
   analysis) that TablePress contains measures to prevent that the functions in 
   questions are called when PHP 7.0 is used.
    However, I can not simply remove 
   these functions as they are needed when older versions of PHP are used on the
   server.
 * Regards,
    Tobias
 *  [mustermann](https://wordpress.org/support/users/mustermann/)
 * (@mustermann)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php7-compatibility-42/#post-8325068)
 * Thanks for the explanation Tobias
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php7-compatibility-42/#post-8325143)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias

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

The topic ‘PHP7 Compatibility’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

## Tags

 * [compatibility](https://wordpress.org/support/topic-tag/compatibility/)
 * [PHP7](https://wordpress.org/support/topic-tag/php7/)

 * 7 replies
 * 3 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/php7-compatibility-42/#post-8325143)
 * Status: resolved