• Hi, I currently using PHP Compatibility checker to find any PHP 7 incompatible code, and I want to report some incompatible or error in the plugin:

    FILE: /home/myusername/public_html/wp-content/plugins/w3-total-cache/Enterprise_Dbcache_WpdbInjection_Cluster.php
    ---------------------------------------------------------------------------------------------------------------
    FOUND 17 ERRORS AFFECTING 17 LINES
    ---------------------------------------------------------------------------------------------------------------
     374 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0 - use mysqli instead.
     444 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0 - use mysqli instead.
     467 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0 - use mysqli instead.
     473 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0 - use mysqli instead.
     516 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0 - use mysqli instead.
     523 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0 - use mysqli instead.
     537 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0 - use mysqli instead.
     543 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0 - use mysqli instead.
     547 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0 - use mysqli instead.
     555 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0 - use mysqli instead.
     556 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0 - use mysqli instead.
     562 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0 - use mysqli instead.
     567 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0 - use mysqli instead.
     642 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0 - use mysqli instead.
     655 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0 - use mysqli instead.
     787 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0 - use mysqli instead.
     793 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0 - use mysqli instead.
    ---------------------------------------------------------------------------------------------------------------
    
    FILE: /home/myusername/public_html/wp-content/plugins/w3-total-cache/lib/SNS/lib/requestcore/requestcore.class.php
    ----------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ----------------------------------------------------------------------------------------------------------------
     650 | WARNING | INI directive 'safe_mode' is deprecated since PHP 5.3 and removed since PHP 5.4.
    ----------------------------------------------------------------------------------------------------------------
    
    FILE: /home/myusername/public_html/wp-content/plugins/w3-total-cache/lib/Nusoap/class.soap_transport_http.php
    -----------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    -----------------------------------------------------------------------------------------------------------
     284 | WARNING | INI directive 'safe_mode' is deprecated since PHP 5.3 and removed since PHP 5.4.
     287 | WARNING | INI directive 'safe_mode' is deprecated since PHP 5.3 and removed since PHP 5.4.
    -----------------------------------------------------------------------------------------------------------
    
    FILE: /home/myusername/public_html/wp-content/plugins/w3-total-cache/lib/Nusoap/class.wsdl.php
    -----------------------------------------------------------------------------------------------------------------------------
    FOUND 3 ERRORS AFFECTING 3 LINES
    -----------------------------------------------------------------------------------------------------------------------------
     758 | ERROR | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     762 | ERROR | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     763 | ERROR | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
    -----------------------------------------------------------------------------------------------------------------------------
    
    FILE: /home/myusername/public_html/wp-content/plugins/w3-total-cache/lib/Nusoap/nusoap.php
    --------------------------------------------------------------------------------------------------------------------------------
    FOUND 37 ERRORS AND 2 WARNINGS AFFECTING 31 LINES
    --------------------------------------------------------------------------------------------------------------------------------
     2437 | WARNING | INI directive 'safe_mode' is deprecated since PHP 5.3 and removed since PHP 5.4.
     2440 | WARNING | INI directive 'safe_mode' is deprecated since PHP 5.3 and removed since PHP 5.4.
     3635 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     3640 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     3642 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     3658 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     3659 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     3695 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     3699 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     3700 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     3707 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     3708 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     3779 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     3842 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     3844 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     4419 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     4439 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     4439 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     4440 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     4441 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     4442 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     4442 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     4442 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     4443 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     4443 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     4508 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     4514 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     4514 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     4515 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     4516 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     4517 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     4518 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     4518 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     4518 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     4519 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     4519 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     5339 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     5343 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
     5344 | ERROR   | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
    --------------------------------------------------------------------------------------------------------------------------------
    
    FILE: /home/myusername/public_html/wp-content/plugins/w3-total-cache/lib/Db/mssql.php
    -----------------------------------------------------------------------------------
    FOUND 24 ERRORS AFFECTING 23 LINES
    -----------------------------------------------------------------------------------
      530 | ERROR | Extension 'mssql' is removed since PHP 7.0
      531 | ERROR | Extension 'mssql' is removed since PHP 7.0
      532 | ERROR | Extension 'mssql' is removed since PHP 7.0
      553 | ERROR | Extension 'mssql' is removed since PHP 7.0
      758 | ERROR | Extension 'mssql' is removed since PHP 7.0
      936 | ERROR | Extension 'mssql' is removed since PHP 7.0
     1060 | ERROR | Extension 'mssql' is removed since PHP 7.0
     1076 | ERROR | Extension 'mssql' is removed since PHP 7.0
     1077 | ERROR | Extension 'mssql' is removed since PHP 7.0
     1078 | ERROR | Extension 'mssql' is removed since PHP 7.0
     1144 | ERROR | Extension 'mssql' is removed since PHP 7.0
     1147 | ERROR | Extension 'mssql' is removed since PHP 7.0
     1156 | ERROR | Extension 'mssql' is removed since PHP 7.0
     1161 | ERROR | Extension 'mssql' is removed since PHP 7.0
     1168 | ERROR | Extension 'mssql' is removed since PHP 7.0
     1171 | ERROR | Extension 'mssql' is removed since PHP 7.0
     1191 | ERROR | Extension 'mssql' is removed since PHP 7.0
     1205 | ERROR | Extension 'mssql' is removed since PHP 7.0
     1208 | ERROR | Extension 'mssql' is removed since PHP 7.0
     1208 | ERROR | Extension 'mssql' is removed since PHP 7.0
     1216 | ERROR | Extension 'mssql' is removed since PHP 7.0
     1217 | ERROR | Extension 'mssql' is removed since PHP 7.0
     1240 | ERROR | Extension 'mssql' is removed since PHP 7.0
     1251 | ERROR | Extension 'mssql' is removed since PHP 7.0
    -----------------------------------------------------------------------------------
    
    FILE: /home/myusername/public_html/wp-content/plugins/w3-total-cache/inc/popup/common/footer.php
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    FILE: /home/myusername/public_html/wp-content/plugins/w3-total-cache/inc/email/minify_error_notification.php
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    FILE: /home/myusername/public_html/wp-content/plugins/w3-total-cache/inc/lightbox/self_test.php
    --------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------------------------------
     171 | WARNING | INI directive 'safe_mode' is deprecated since PHP 5.3 and removed since PHP 5.4.
    --------------------------------------------------------------------------------------------------
    
    FILE: /home/myusername/public_html/wp-content/plugins/w3-total-cache/inc/options/common/footer.php
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    [moderator note: Please do not do huge pastes here. Use gist.github.com and paste a link here.]

The topic ‘Found a problem with PHP 7 Compatibility’ is closed to new replies.