Version 2.4 breaks WP-CLI
-
Hi!
I’ve had WP-CLI on two sites break after upgrading to svg-support 2.4.
Here’s what happens:
user_1387@slim:~/arbetsgladje.se$ wp option get home PHP Warning: Creating default object from empty value in /home/user_1387/wordpress/wp-content/themes/arbetsgladje/includes/theme.php on line 5 Warning: Creating default object from empty value in /home/user_1387/wordpress/wp-content/themes/arbetsgladje/includes/theme.php on line 5 PHP Fatal error: Uncaught Error: Call to a member function setAllowedTags() on null in /home/user_1387/wordpress/wp-content/plugins/svg-support/functions/attachment.php:246 Stack trace: #0 /home/user_1387/wordpress/wp-includes/class-wp-hook.php(307): bodhi_svgs_apply_filters() #1 /home/user_1387/wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #2 /home/user_1387/wordpress/wp-includes/plugin.php(474): WP_Hook->do_action() #3 /home/user_1387/wordpress/wp-settings.php(565): do_action() #4 phar:///usr/bin/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1317): require('/home/user_1387...') #5 phar:///usr/bin/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1235): WP_CLI\Runner->load_wordpress() #6 phar:///usr/bin/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start() #7 phar:///usr/bin/wp-cli/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process() #8 phar:///usr/bin/wp-cli/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap() #9 phar in /home/user_1387/wordpress/wp-content/plugins/svg-support/functions/attachment.php on line 246 Fatal error: Uncaught Error: Call to a member function setAllowedTags() on null in /home/user_1387/wordpress/wp-content/plugins/svg-support/functions/attachment.php:246 Stack trace: #0 /home/user_1387/wordpress/wp-includes/class-wp-hook.php(307): bodhi_svgs_apply_filters() #1 /home/user_1387/wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #2 /home/user_1387/wordpress/wp-includes/plugin.php(474): WP_Hook->do_action() #3 /home/user_1387/wordpress/wp-settings.php(565): do_action() #4 phar:///usr/bin/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1317): require('/home/user_1387...') #5 phar:///usr/bin/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1235): WP_CLI\Runner->load_wordpress() #6 phar:///usr/bin/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start() #7 phar:///usr/bin/wp-cli/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process() #8 phar:///usr/bin/wp-cli/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap() #9 phar in /home/user_1387/wordpress/wp-content/plugins/svg-support/functions/attachment.php on line 246 Error: Det har uppst?tt ett kritiskt fel p? webbplatsen.L?s mer om fels?kning i WordPress. Det har uppst?tt ett kritiskt fel p? webbplatsen.
It works upon downgrading to 2.3.21.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Version 2.4 breaks WP-CLI’ is closed to new replies.