Spectra/UAG clash with WooCommerce 9.2.2
-
UAG conflicts with the latest version of WooCommerce.
When you upgrade WooCommerce, it asks you to upgrade the WC database by clicking on a button. Unfortunately, it gave an error when doing so. It suggests you can upgrade the WC database using WP-CLI, so I did wp wc update
and saw the following error:
PHP Fatal error: Uncaught TypeError: ftp_fput(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /usr/local/lsws/Staging/htdocs/wp-admin/includes/class-wp-filesystem-ftpext.php:212
Stack trace:
0 /usr/local/lsws/Staging/htdocs/wp-admin/includes/class-wp-filesystem-ftpext.php(212): ftp_fput()
1 /usr/local/lsws/Staging/htdocs/wp-content/plugins/ultimate-addons-for-gutenberg/lib/gutenberg-templates/inc/classes/ast-block-templates-notices.php(32): WP_Filesystem_FTPext->put_contents()
2 /usr/local/lsws/Staging/htdocs/wp-content/plugins/ultimate-addons-for-gutenberg/lib/gutenberg-templates/ast-block-plugin-loader.php(106): Gutenberg_Templates\Inc\Classes\Ast_Block_Templates_Notices->has_file_read_write()
3 /usr/local/lsws/Staging/htdocs/wp-includes/class-wp-hook.php(324): Gutenberg_Templates\Ast_Block_Plugin_Loader->load_classes()
4 /usr/local/lsws/Staging/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
5 /usr/local/lsws/Staging/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
6 /usr/local/lsws/Staging/htdocs/wp-settings.php(722): do_action()
7 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1363): require(‘…’)
8 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1282): WP_CLI\Runner->load_wordpress()
9 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()
10 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(83): WP_CLI\Bootstrap\LaunchRunner->process()
11 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap()
12 phar:///usr/local/bin/wp/php/boot-phar.php(20): include(‘…’)
13 /usr/local/bin/wp(4): include(‘…’)
14 {main}thrown in /usr/local/lsws/Staging/htdocs/wp-admin/includes/class-wp-filesystem-ftpext.php on line 212
After disabling UAG (Spectra) I got
wp wc updateFound 1 updates (wc_update_920_add_wc_hooked_blocks_version_option)
Updating database 100% [==========================================] 0:00 / 0:00
Success: 1 update functions completed. Database version is 9.2.2
- You must be logged in to reply to this topic.