WP CLI bug
-
Hello,
Upgraded to latest version, there is a compatibility issue with the CLI:
Stack trace:
#0 /var/www/html/wp-content/plugins/redirection/redirection-admin.php(56): Red_Database::apply_to_sites(Object(Closure))
#1 /var/www/html/wp-includes/class-wp-hook.php(286): Redirection_Admin::plugin_deactivated(false)
#2 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
#3 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#4 /var/www/html/wp-admin/includes/plugin.php(775): do_action(‘deactivate_redi…’, false)
#5 phar:///bin/wp-cli.phar/vendor/wp-cli/extension-command/src/Plugin_Command.php(383): deactivate_plugins(‘redirection/red…’, false, NULL)
#6 [internal function]: Plugin_Command->deactivate(Array, Array)
#7 phar:///bin/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(93): call_user_func(Array, Array, Array)
#8 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{ in /var/www/html/wp-content/plugins/redirection/database/database.php on line 86CLI works fine when the plugin is deactivated.
Regards
The topic ‘WP CLI bug’ is closed to new replies.