Latest update causing CLI fatal error
-
We are using Spectra plugin version 2.15.0 (PHP version 8.1.2, WP 6.6.1)
Upon applying the latest plugin update, CLI WP invocation is resulting in this fatal error:
Fatal error: Uncaught TypeError: ftp_fput(): Argument #1 ($ftp) must be of type resource, null given in /home/prime/home/prime/sites/xyz.in/htdocs/wp-admin/includes/class-wp-filesystem-ftpext.php:212
Stack trace:0 /home/prime/home/prime/sites/xyz.in/htdocs/wp-admin/includes/class-wp-filesystem-ftpext.php(212): ftp_fput()
1 /home/prime/home/prime/sites/xyz.in/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 /home/prime/home/prime/sites/xyz.in/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 /home/prime/home/prime/sites/xyz.in/htdocs/wp-includes/class-wp-hook.php(324): Gutenberg_Templates\Ast_Block_Plugin_Loader->load_classes()
4 /home/prime/home/prime/sites/xyz.in/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 5 /home/prime/home/prime/sites/xyz.in/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action() 6 /home/prime/home/prime/sites/xyz.in/htdocs/wp-settings.php(722): do_action() 7 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1374): require(‘…’) 8 phar:///usr/local/bin/wp/vendor/wp-cli/eval-command/src/EvalFile_Command.php(56): WP_CLI\Runner->load_wordpress() 9 [internal function]: EvalFile_Command->__invoke() 10 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func() 11 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher{closure}() 12 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(497): call_user_func() 13 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(441): WP_CLI\Dispatcher\Subcommand->invoke() 14 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(464): WP_CLI\Runner->run_command() 15 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(136): WP_CLI\Runner->run_command_and_exit() 16 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1228): WP_CLI\Runner->do_early_invoke() 17 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start() 18 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(83): WP_CLI\Bootstrap\LaunchRunner->process() 19 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap() 20 phar:///usr/local/bin/wp/php/boot-phar.php(20): include(‘…’) 21 /usr/local/bin/wp(4): include(‘…’) 22 {main}
thrown in /home/prime/home/prime/sites/xyz.in/htdocs/wp-admin/includes/class-wp-filesystem-ftpext.php on line 212
Error: There has been a critical error on this website.Learn more about troubleshooting WordPress. There has been a critical error on this website.Please fix
- You must be logged in to reply to this topic.