WP Time Capsule not compatible with PHP7
-
I’m using PHP7 Compatibility Checker Plugin to check if all my themes and plugins are compatible with PHP7 and I have found your plugin to be incompatible with PHP7. Below are the errors fired up by the compatibility plugin.
FILE: /home/user/public_html/wp-content/plugins/wp-time-capsule/wp-time-capsule.php
————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
————————————————————————————————–
614 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4.
————————————————————————————————–FILE: /home/user/public_html/wp-content/plugins/wp-time-capsule/S3/guzzle/guzzle/src/Guzzle/Service/Resource/CompositeResourceIteratorFactory.php
——————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
——————————————————————————————————————————————————————-
3 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
——————————————————————————————————————————————————————-FILE: /home/user/public_html/wp-content/plugins/wp-time-capsule/S3/guzzle/guzzle/src/Guzzle/Service/Resource/MapResourceIteratorFactory.php
——————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
——————————————————————————————————————————————————————-
3 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
——————————————————————————————————————————————————————-FILE: /home/user/public_html/wp-content/plugins/wp-time-capsule/S3/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorInterface.php
——————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
——————————————————————————————————————————————————————-
3 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
——————————————————————————————————————————————————————-FILE: /home/user/public_html/wp-content/plugins/wp-time-capsule/S3/guzzle/guzzle/src/Guzzle/Service/Resource/Model.php
——————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
——————————————————————————————————————————————————————-
3 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
——————————————————————————————————————————————————————-FILE: /home/user/public_html/wp-content/plugins/wp-time-capsule/S3/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorClassFactory.php
——————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
——————————————————————————————————————————————————————-
3 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
——————————————————————————————————————————————————————-FILE: /home/user/public_html/wp-content/plugins/wp-time-capsule/S3/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIterator.php
——————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
——————————————————————————————————————————————————————-
3 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
——————————————————————————————————————————————————————-FILE: /home/user/public_html/wp-content/plugins/wp-time-capsule/S3/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorFactoryInterface.php
——————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
——————————————————————————————————————————————————————-
3 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
——————————————————————————————————————————————————————-FILE: /home/user/public_html/wp-content/plugins/wp-time-capsule/S3/guzzle/guzzle/src/Guzzle/Service/Resource/AbstractResourceIteratorFactory.php
——————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
——————————————————————————————————————————————————————-
3 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
——————————————————————————————————————————————————————-FILE: /home/user/public_html/wp-content/plugins/wp-time-capsule/S3/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorApplyBatched.php
——————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
——————————————————————————————————————————————————————-
3 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
——————————————————————————————————————————————————————-FILE: /home/user/public_html/wp-content/plugins/wp-time-capsule/Pro/Staging/phpseclib/File/ANSI.php
————————————————————————————————————————-
FOUND 5 ERRORS AFFECTING 5 LINES
————————————————————————————————————————-
191 | ERROR | ‘clone’ is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE)
192 | ERROR | ‘clone’ is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE)
344 | ERROR | ‘clone’ is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE)
414 | ERROR | ‘clone’ is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE)
433 | ERROR | ‘clone’ is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE)
————————————————————————————————————————-FILE: /home/user/public_html/wp-content/plugins/wp-time-capsule/Pro/Staging/phpseclib/File/X509.php
————————————————————————————————————-
FOUND 4 ERRORS AFFECTING 4 LINES
————————————————————————————————————-
4657 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
4682 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
4749 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
4821 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
————————————————————————————————————-FILE: /home/user/public_html/wp-content/plugins/wp-time-capsule/Pro/Staging/phpseclib/Net/SFTP/Stream.php
————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
————————————————————————————————————-
200 | ERROR | Global with variable variables is not allowed since PHP 7.0
————————————————————————————————————-FILE: /home/user/public_html/wp-content/plugins/wp-time-capsule/Pro/Staging/bridge/pclzip.php
————————————————————————————————————
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
————————————————————————————————————
215 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
5348 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
5382 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
————————————————————————————————————FILE: /home/user/public_html/wp-content/plugins/wp-time-capsule/Pro/Staging/lib/cpanel_uapi.php
—————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————————
129 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4.
—————————————————————————————————FILE: /home/user/public_html/wp-content/plugins/wp-time-capsule/Classes/DatabaseBackup.php
————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
————————————————————————————————–
474 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4.
————————————————————————————————–FILE: /home/user/public_html/wp-content/plugins/wp-time-capsule/Classes/ActivityLog.php
————————————————————————————————————-
FOUND 2 ERRORS AFFECTING 2 LINES
————————————————————————————————————-
74 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
75 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
————————————————————————————————————-FILE: /home/user/public_html/wp-content/plugins/wp-time-capsule/wptc-cron-functions.php
————————————————————————————————————————————-
FOUND 4 ERRORS AFFECTING 4 LINES
————————————————————————————————————————————-
17 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since PHP 7.0 – use php://input instead.
22 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since PHP 7.0 – use php://input instead.
23 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since PHP 7.0 – use php://input instead.
46 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since PHP 7.0 – use php://input instead.
————————————————————————————————————————————-FILE: /home/user/public_html/wp-content/plugins/wp-time-capsule/wp-tcapsule-bridge/tc-init.php
————————————————————————————————————–
FOUND 1 ERROR AFFECTING 1 LINE
————————————————————————————————————–
146 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
————————————————————————————————————–FILE: /home/user/public_html/wp-content/plugins/wp-time-capsule/wp-tcapsule-bridge/wp-modified-functions.php
———————————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————————————–
5 | WARNING | Function name “__” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
———————————————————————————————————————————–FILE: /home/user/public_html/wp-content/plugins/wp-time-capsule/wp-tcapsule-bridge/wptc-ajax.php
—————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————————-
233 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4.
—————————————————————————————————-FILE: /home/user/public_html/wp-content/plugins/wp-time-capsule/wp-tcapsule-bridge/wp-db-custom.php
—————————————————————————————————————
FOUND 21 ERRORS AFFECTING 21 LINES
—————————————————————————————————————
742 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
749 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
770 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
784 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
816 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
1028 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
1078 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
1269 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
1395 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
1476 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
1478 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
1536 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
1635 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
1652 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
1671 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
1678 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
1691 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
1724 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
2084 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
2085 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
2275 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
—————————————————————————————————————FILE: /home/user/public_html/wp-content/plugins/wp-time-capsule/wp-tcapsule-bridge/wp-files/load.php
—————————————————————————————————————————
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
—————————————————————————————————————————
32 | WARNING | INI directive ‘register_globals’ is deprecated since PHP 5.3 and removed since PHP 5.4.
651 | ERROR | ‘clone’ is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE)
—————————————————————————————————————————
- The topic ‘WP Time Capsule not compatible with PHP7’ is closed to new replies.