Upgrade from 9.4.1 to 9.4.2 breaks entire site
-
I did the auto update to 9.4.2. This breaks my entire wordpress installation, both admin panel and main site, with the “critical site error” message being shown in the browser.
The apache error log shows messages like:
[Thu Nov 21 08:26:35.735260 2024] [php:error] [pid 3543803] [client 123:29995] PHP Fatal error: Uncaught TypeError: ftp_nlist(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /var/www/x/wp-admin/includes/class-wp-filesystem-ftpext.php:438\nStack trace:\n#0 /var/www/x/wp-admin/includes/class-wp-filesystem-ftpext.php(438): ftp_nlist()\n#1 /var/www/x/wp-admin/includes/class-wp-filesystem-ftpext.php(456): WP_Filesystem_FTPext->exists()\n#2 /var/www/x/wp-admin/includes/class-wp-filesystem-ftpext.php(265): WP_Filesystem_FTPext->is_file()\n#3 /var/www/x/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/File.php(417): WP_Filesystem_FTPext->chmod()\n#4 /var/www/x/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/File.php(438): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\File->create()\n#5 /var/www/uGreenWP/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php(135): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\File->write()\n#6 /var/www/x/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/LogHandlerFileV2.php(60): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\FileController->write_to_file()\n#7 /var/www/x/wp-content/plugins/woocommerce/includes/class-wc-logger.php(189): Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2->handle()\n#8 /var/www/x/wp-content/plugins/woocommerce/includes/class-wc-logger.php(268): WC_Logger->log()\n#9 /var/www/x/wp-content/plugins/woocommerce/src/Blocks/BlockPatterns.php(164): WC_Logger->warning()\n#10 /var/www/x/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\BlockPatterns->register_ptk_patterns()\n#11 /var/www/uGreenWP/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#12 /var/www/uGreenWP/wp-includes/plugin.php(517): WP_Hook->do_action()\n#13 /var/www/x/wp-settings.php(704): do_action()\n#14 /var/www/x/wp-config.php(94): require_once('…')\n#15 /var/www/x/wp-load.php(50): require_once('…')\n#16 /var/www/x/wp-blog-header.php(13): require_once('…')\n#17 /var/www/x/index.php(17): require('…')\n#18 {main}\n thrown in /var/www/x/wp-admin/includes/class-wp-filesystem-ftpext.php on line 438, referer: https://ugreen.eu/
I can fix it by downgrading again:
wget https://downloads.www.ads-software.com/plugin/woocommerce.9.4.1.zip
unzip woocommerce.9.4.1.zip
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.