Incompatible with WP Cli
-
Hello,
There are a few fatal errors that happen when trying to use wp-cli on a site that has this plugin activated.
Note for others reading this: There are no errors thrown when using this plugin through the dashboard/frontend. This is related to WP-CLI only.
Here are the errors:
Fatal error: Uncaught Error: Call to a member function register_question_type() on null in /tld.com/wp-content/plugins/quiz-master-next/php/question-types.php:14 Stack trace: #0 /tld.com/wp-includes/class-wp-hook.php(298): qmn_question_type_multiple_choice('') #1 /tld.com/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /tld.com/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /tld.com/wp-settings.php(326): do_action('plugins_loaded') #4 phar:///usr/local/bin/wp/php/WP_CLI/Runner.php(1008): require('/mnt/volume-01/...') #5 phar:///usr/local/bin/wp/php/WP_CLI/Runner.php(945): WP_CLI\Runner->load_wordpress() #6 phar:///usr/local/bin/wp/php/wp-cli.php(21): WP_CLI\Runner->start() #7 phar:///usr/local/bin/wp/php/boot-phar.php(5): include('phar:///usr/l in /tld.com/wp-content/plugins/quiz-master-next/php/question-types.php on line 14
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Incompatible with WP Cli’ is closed to new replies.