Title: Errors when attempting to update all plugins
Last modified: April 21, 2026

---

# Errors when attempting to update all plugins

 *  Resolved [wort](https://wordpress.org/support/users/wort/)
 * (@wort)
 * [1 month, 2 weeks ago](https://wordpress.org/support/topic/errors-when-attempting-to-update-all-plugins/)
 * Hi – this is on our development server so far but I suspect the same would happen
   on our prod box. 
   Running version 1.1.1 of your plugin on Debian Trixie with 
   php8.4-fpm and I’m wondering if the underlying phpseclib is compatible with 8.4?
   Here’s the salient error log:`AH01071: Got error 'PHP message: PHP Fatal error:
   Uncaught UnexpectedValueException: Expected NET_SFTP_HANDLE or NET_SFTP_STATUS.
   Got packet type: 105 in /var/www/html/wp-content/plugins/ssh-sftp-updater-support/
   vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php:1118\nStack trace:\n#0 /var/
   www/html/wp-content/plugins/ssh-sftp-updater-support/vendor/phpseclib/phpseclib/
   phpseclib/Net/SFTP.php(1041): phpseclib3\Net\SFTP->readlist()\n#1 /var/www/html/
   wp-content/plugins/ssh-sftp-updater-support/class-wp-filesystem-ssh2.php(382):
   phpseclib3\Net\SFTP->rawlist()\n#2 /var/www/html/wp-admin/includes/class-wp-filesystem-
   base.php(276): WP_Filesystem_SSH2->dirlist()\n#3 /var/www/html/wp-content/plugins/
   ssh-sftp-updater-support/class-wp-filesystem-ssh2.php(560): WP_Filesystem_Base-
   >search_for_folder()\n#4 /var/www/html/wp-admin/includes/class-wp-upgrader.php(
   1218): WP_Filesystem_SSH2->find_folder()\n#5 /var/www/html/wp-includes/class-
   wp-hook.php(339): WP_Upgrader->restore_temp_backup()\n#6 /var/www/html/wp-includes/
   class-wp-hook.php(365):…'`
 * Any ideas? I did manually remove your plugin and then manually installed it again
   with no difference. (I should add that this is a totally fresh install of Trixie
   in order to match the production environment so possible I have missed something
   in the install – but I don’t see that from the error log.
   Thanks for any ideas!

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

 *  Thread Starter [wort](https://wordpress.org/support/users/wort/)
 * (@wort)
 * [1 month, 1 week ago](https://wordpress.org/support/topic/errors-when-attempting-to-update-all-plugins/#post-18894565)
 * After doing some plugin updates using the wp cli, I am now getting 500 errors
   when installing and activating your plugin. Goes away when forcing a delete of
   the plugin directory but comes right back after a reinstall and an activation.
   From the errors now – might there be some incompatibility with woocommerce?
   `
   AH01071: Got error '; PHP message: PHP Fatal error: Uncaught Error: Call to a
   member function stat() on false in /var/www/html/wp-content/plugins/ssh-sftp-
   updater-support/class-wp-filesystem-ssh2.php:306\nStack trace:\n#0 /var/www/html/
   wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/File.php(254):
   WP_Filesystem_SSH2->is_file()\n#1 /var/www/html/wp-content/plugins/woocommerce/
   src/Internal/Admin/Logging/FileV2/File.php(437): Automattic\WooCommerce\Internal\
   Admin\Logging\FileV2\File->is_writable()\n#2 /var/www/html/wp-content/plugins/
   woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php(135): Automattic\
   WooCommerce\Internal\Admin\Logging\FileV2\File->write()\n#3 /var/www/html/wp-
   content/plugins/woocommerce/src/Internal/Admin/Logging/LogHandlerFileV2.php(62):
   Automattic\WooCommerce\Internal\Admin\Logging\FileV2\FileController->write_to_file()\
   n#4 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-logger.php(
   189): Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2->handle()\
   n#5 …'`
 * Thanks for anything you can determine from this.
 *  Plugin Author [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [1 month, 1 week ago](https://wordpress.org/support/topic/errors-when-attempting-to-update-all-plugins/#post-18897013)
 * Hi,
 * The first error is the underlying SSH library, phpseclib, having a problem with
   the data its seeing. I’ve updated the bundled version (from 3.0.48 to 3.0.52 –
   [https://github.com/phpseclib/phpseclib/releases](https://github.com/phpseclib/phpseclib/releases)),
   so, please update to today’s 1.1.2 version of the plugin, and try again.
 * The second error is a bug in your installed version of WooCommerce; it has code
   which attempts to set up a filesystem link, but does not check whether doing 
   so succeeds or fails, and then it tries to use it to ask about a file. That attempt
   fails, because the question it asks can’t be answered either way in the case 
   of a failed setup of the link. If that’s the latest version of WooCommerce, then
   you should report that to them.
 * David

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferrors-when-attempting-to-update-all-plugins%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://s.w.org/plugins/geopattern-icon/ssh-sftp-updater-support.svg)
 * [SSH SFTP Updater Support](https://wordpress.org/plugins/ssh-sftp-updater-support/)
 * [Support Threads](https://wordpress.org/support/plugin/ssh-sftp-updater-support/)
 * [Active Topics](https://wordpress.org/support/plugin/ssh-sftp-updater-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ssh-sftp-updater-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ssh-sftp-updater-support/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * Last activity: [1 month, 1 week ago](https://wordpress.org/support/topic/errors-when-attempting-to-update-all-plugins/#post-18897013)
 * Status: resolved