Please check if WP_CLI is defined before doing anything that doesn't need to be done in CLI mode. Thanks!
$ wp
PHP Fatal error: Class 'WP_Widget' not found in /var/www/html/wp-content/plugins/black-studio-tinymce-widget/includes/class-widget.php on line 17
Fatal error: Class 'WP_Widget' not found in /var/www/html/wp-content/plugins/black-studio-tinymce-widget/includes/class-widget.php on line 17
Please check if
WP_CLI
is defined before doing anything that doesn't need to be done in CLI mode. Thanks!