Plugin fails on 4.9 with “Serialization of ‘Closure’ is not allowed”
-
After upgrading to WP 4.9, this plugin no longer works on my installation, claiming:
PHP Fatal error: Uncaught exception 'Exception' with message 'Serialization of 'Closure' is not allowed' in ***/wp-content/plugins/ssh-sftp-updater-support/phpseclib/Crypt/Random.php:156\nStack trace:\n#0 ***/wp-content/plugins/ssh-sftp-updater-support/phpseclib/Crypt/Random.php(156): serialize(Array)\n#1 ***/wp-content/plugins/ssh-sftp-updater-support/phpseclib/Net/SSH2.php(1251): crypt_random_string(16)\n#2 ***/wp-content/plugins/ssh-sftp-updater-support/phpseclib/Net/SSH2.php(1075): Net_SSH2->_key_exchange('\\x14Nf\\xE1\\x8E\\xB1\\e\\xEA\\x8BI\\v\\xFA;\\x98>...')\n#3 ***/wp-content/plugins/ssh-sftp-updater-support/phpseclib/Net/SSH2.php(1869): Net_SSH2->_connect()\n#4 [internal function]: Net_SSH2->_login('user', 'pass')\n#5 ***/wp-content/plugins/ssh-sftp-updater-support/phpseclib/Net/SFTP.php(431): call_user_func_array(Array, Array)\n#6 ***/wp-content/plugins/ssh-sftp-updater-support/class- in ***/wp-content/plugins/ssh-sftp-updater-support/phpseclib/Crypt/Random.php on line 156
Note also that this logged output reveals the password, which is another bug (I have substituted in the word ‘pass’ above.
- The topic ‘Plugin fails on 4.9 with “Serialization of ‘Closure’ is not allowed”’ is closed to new replies.