Latest version of plugin is breaking WP-CLI
-
WP-CLI is the command-line interface for WordPress. Many people use it to maintain their WordPress sites and to perform such things as updating the core, plugins and themes via the command line or with bash scripts. The most recent version of your plugin is preventing simple commands like
wp plugin list
orwp plugin update --all
from running. Here is the error message that outputs on the command line when attempting to run such commands:Fatal error: Uncaught Error: Call to a member function check_permission() on null in /home/username/public_html/wp-content/plugins/business-profile/includes/class-settings.php:713 Stack trace: #0 /home/username/public_html/wp-content/plugins/business-profile/includes/class-settings.php(692): bpfwpSettings->show_submit_button('premium') #1 /home/username/public_html/wp-includes/class-wp-hook.php(287): bpfwpSettings->load_settings_panel('') #2 /home/username/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #3 /home/username/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #4 /home/username/public_html/wp-settings.php(546): do_action('init') #5 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1317): require('/home/username...') #6 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1235): WP_CLI\Runner in /home/username/public_html/wp-content/plugins/business-profile/includes/class-settings.php on line 713 Error: There has been a critical error on your website.Learn more about debugging in WordPress. There has been a critical error on your website.
I hope this issue can be addressed so that users (like myself) who rely on WP-CLI to maintain their sites can continue to use your plugin. Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Latest version of plugin is breaking WP-CLI’ is closed to new replies.