plugin interferes with WordPress CLI
-
Love this plugin! But as of the most recent WordPress update (5.9) I need to deactivate the plugin in order to run CLI commands, like
wp cache flushThe specific command line error looks like:
Fatal error: Uncaught Error: Call to a member function setAllowedTags() on null in /plugins/svg-support/functions/attachment.php:246 Stack trace: #0 /wp-includes/class-wp-hook.php(307): bodhi_svgs_apply_filters('') #1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #2 /wp-includes/plugin.php(474): WP_Hook->do_action(Array) #3 /wp-settings.php(565): do_action('after_setup_the...') #4 phar:///usr/local/bin/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1317): require('/home/customer/...') #5 phar:///usr/local/bin/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1235): WP_CLI\Runner->load_wordpress() #6 phar:///usr/local/bin/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstra in xxxxxxxxxxxxx/plugins/svg-support/functions/attachment.php on line 246 Error: There has been a critical error on this website.Learn more about troubleshooting WordPress. There has been a critical error on this website.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘plugin interferes with WordPress CLI’ is closed to new replies.