rugbyjason
Forum Replies Created
-
Forum: Plugins
In reply to: [Keyy Two Factor Authentication (like Clef)] Some errors in the code — PHP 7Hi, I have some additional php 7 compatibility ‘clone’ errors as well as those detailed above. I ran a plugin called SG Optimizer provided by my host that checks for PHP 7 compatibility:
FILE: /REMOVED/wp-content/plugins/keyy/vendor/phpseclib/phpseclib/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: /REMOVED/wp-content/plugins/keyy/vendor/phpseclib/phpseclib/phpseclib/File/X509.php
—————————————————————————————————————————————–
FOUND 4 ERRORS AFFECTING 4 LINES
—————————————————————————————————————————————–
4660 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
4685 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
4752 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
4824 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
—————————————————————————————————————————————–FILE: /REMOVED/wp-content/plugins/keyy/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP/Stream.php
———————————————————————————————————————————————–
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————————————————–
200 | ERROR | Global with variable variables is not allowed since PHP 7.0
———————————————————————————————————————————————–