Title: Incompatible with WP Cli
Last modified: February 21, 2017

---

# Incompatible with WP Cli

 *  [Maje Media LLC](https://wordpress.org/support/users/majemedia/)
 * (@majemedia)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/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)

 *  Thread Starter [Maje Media LLC](https://wordpress.org/support/users/majemedia/)
 * (@majemedia)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/incompatible-with-wp-cli/#post-8831430)
 * Plugin Version: 4.7.10
    PHP Version: 7.0
 *  [astimegoesby](https://wordpress.org/support/users/astimegoesby/)
 * (@astimegoesby)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/incompatible-with-wp-cli/#post-8831849)
 * I noticed the same error while configuring this plugin, WP Social Login.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Incompatible with WP Cli’ is closed to new replies.

 * ![](https://ps.w.org/quiz-master-next/assets/icon-128x128.png?rev=3158087)
 * [Quiz and Survey Master (QSM) - Easy Quiz and Survey Maker](https://wordpress.org/plugins/quiz-master-next/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quiz-master-next/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quiz-master-next/)
 * [Active Topics](https://wordpress.org/support/plugin/quiz-master-next/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quiz-master-next/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quiz-master-next/reviews/)

## Tags

 * [wp-cli](https://wordpress.org/support/topic-tag/wp-cli/)

 * 2 replies
 * 2 participants
 * Last reply from: [astimegoesby](https://wordpress.org/support/users/astimegoesby/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/incompatible-with-wp-cli/#post-8831849)
 * Status: not resolved