Automatic WordPress update no longer possible
-
Hello,
we are using the current version 9.0.18 of the Easy Updates Manager. Under WordPress 6.5.4 everything still worked, but since version 6.6.1 there are problems. Core and plugins are no longer updated.
If we force the updates only a loading animation appears and this error appears in the log file (It looks like some value is not being handed over):
16-Oct-2024 13:39:21 UTC] Automatic updates starting…
[16-Oct-2024 13:39:21 UTC] Automatic plugin updates starting…
[16-Oct-2024 13:39:21 UTC] Upgrading plugin ‘better-search-replace’…
[16-Oct-2024 13:39:21 UTC] PHP Fatal error: Uncaught TypeError: ftp_nlist(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /var/www/https/***.***.at/wp/wp-admin/includes/class-wp-filesystem-ftpext.php:438Stack trace:
#0 /var/www/https/***.***.at/wp/wp-admin/includes/class-wp-filesystem-ftpext.php(438): ftp_nlist()
#1 /var/www/https/***.***.at/wp/wp-admin/includes/class-wp-filesystem-base.php(231): WP_Filesystem_FTPext->exists()
#2 /var/www/https/***.***.at/wp/wp-admin/includes/class-wp-filesystem-base.php(58): WP_Filesystem_Base->find_folder()
#3 /var/www/https/***.***.at/wp/wp-admin/includes/class-wp-upgrader.php(997): WP_Filesystem_Base->abspath()
#4 /var/www/https/***.***.at/wp/wp-admin/includes/class-wp-automatic-updater.php(474): WP_Upgrader->maintenance_mode()
#5 /var/www/https/***.***.at/wp/wp-admin/includes/class-wp-automatic-updater.php(676): WP_Automatic_Updater->update()
#6 /var/www/https/***.***.at/wp/wp-includes/update.php(855): WP_Automatic_Updater->run()
#7 /var/www/https/***.***.at/wp/wp-content/plugins/stops-core-theme-and-plugin-updates/includes/MPSUM_Admin_Ajax.php(1057): wp_maybe_auto_update()
#8 /var/www/https/***.***.at/wp/wp-content/plugins/stops-core-theme-and-plugin-updates/includes/MPSUM_Admin_Ajax.php(144): MPSUM_Admin_Ajax->force_updates()
#9 /var/www/https/***.***.at/wp/wp-includes/class-wp-hook.php(324): MPSUM_Admin_Ajax->ajax_handler()
#10 /var/www/https/***.***.at/wp/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 11 /var/www/https/***.***.at/wp/wp-includes/plugin.php(517): WP_Hook->do_action()
#12 /var/www/https/***.***.at/wp/wp-admin/admin-ajax.php(192): do_action()
#13 {main} thrown in /var/www/https/***.***.at/wp/wp-admin/includes/class-wp-filesystem-ftpext.php on line 438So forcing does not work either. Only the lock state is activated, which prevents further updates. (We remove the lock state after some time with the ‘Fix Another Update In Progress’ plugin)
The problem does not exist if we update the plugins manually. We can initiate any update manually.
We use the option of an SSH connection. We have been doing this for many years without any problems.
define(‘FTP_METHOD’,’ssh2′); define(‘FTP_PUBKEY’,’/xxx/xxx/xxx.xx’);
define(‘FTP_PRIKEY’,’/xxx/xxx/xxx.xx’);
define(‘FTP_USER’,’xxxxxxxx’);
define(‘FTP_PASS’,”);
define(‘FTP_HOST’,’127.0.0.1:22′);PHP version is 8.2.
- You must be logged in to reply to this topic.