Title: Problem with QSM plugin
Last modified: December 22, 2022

---

# Problem with QSM plugin

 *  Resolved [pepe80](https://wordpress.org/support/users/pepe80/)
 * (@pepe80)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/problem-with-qsm-plugin/)
 * I use QSM plugin (Quiz And Survey Master). During the scaning process, I saw 
   http 500 error in debug console. In error.log on the server, I see:
 *     ```wp-block-code
       PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($var) must be of type Countable|array, string given in plugins/quiz-master-next/php/classes/class-qmn-quiz-manager.php:603
       Stack trace:
       #0 plugins/quiz-master-next/php/classes/class-qmn-quiz-manager.php(870): QMNQuizManager->load_questions('8', Object(stdClass), true, 0)
       #1 plugins/quiz-master-next/php/classes/class-qmn-quiz-manager.php(467): QMNQuizManager->display_quiz(Object(stdClass), Array, 0, Array)
       #2 public_html/wp-includes/shortcodes.php(356): QMNQuizManager->display_shortcode(Array, '', 'mlw_quizmaster')
       #3 [internal function]: do_shortcode_tag(Array)
       #4 public_html/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(mlw_qu...', 'do_shortcode_ta...', '[mlw_quizmaster...')
       #5 plugins/media-cleaner/classes/core.php(264): do_shortcode('[mlw_quizmaster...')
       #6 plugins/media-cleaner/classes/parsers/common.php(105): Meow_WPMC_Core->get_urls_from_html('[mlw_quizmaster...')
       #7 public_html/wp-includes/class-wp-hook.php(307): MeowApps_WPMC_Parser_Common->scan_post('[mlw_quizmaster...', '81186')
       ...
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/problem-with-qsm-plugin/#post-16314788)
 * Hi,
 * Unfortunately, any other plugin that fails will result in an error in Media Cleaner(
   or in any other plugin actually). You absolutely need to ask the developer of
   QSM to fix this, or disable it during the scan.

Viewing 1 replies (of 1 total)

The topic ‘Problem with QSM plugin’ is closed to new replies.

 * ![](https://ps.w.org/media-cleaner/assets/icon-256x256.png?rev=2791576)
 * [Media Cleaner: Clean your WordPress!](https://wordpress.org/plugins/media-cleaner/)
 * [Support Threads](https://wordpress.org/support/plugin/media-cleaner/)
 * [Active Topics](https://wordpress.org/support/plugin/media-cleaner/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-cleaner/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-cleaner/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/problem-with-qsm-plugin/#post-16314788)
 * Status: resolved