Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter eclhome

    (@eclhome)

    Thank you. I was able to get the results to show up with that code and the PHP changed to 7.4. But it is still not adding up the scores. It gives all results as 0. These are the current errors.

    [07-Oct-2023 06:31:23 UTC] PHP Warning count(): Parameter must be an array or an object that implements Countable in /home2/canad/public_html/eclectic-homeschool.com/wp-content/plugins/quiz-master-next/php/classes/class-qmn-quiz-manager.php on line 1973

    [07-Oct-2023 06:31:23 UTC] PHP Warning Invalid argument supplied for foreach() in /home2/canad/public_html/eclectic-homeschool.com/wp-content/plugins/quiz-master-next/php/classes/class-qmn-quiz-manager.php on line 1975

    Thread Starter eclhome

    (@eclhome)

    Thank you, but I am still getting errors. I even tried changing my theme and it is still not working.

    WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘)’ at line 3 for query SELECT quiz_id, question_id, answer_array, question_answer_info, question_type_new, question_settings FROM wp_mlw_questions WHERE question_id IN () made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/orton-blog/single.php’), get_template_part, locate_template, load_template, require(‘/themes/orton-blog/template-parts/content-single.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, QMNQuizManager->display_shortcode, QM_DB->query

    [06-Oct-2023 02:39:48 UTC] PHP Fatal error Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /home2/canad/public_html/eclectic-homeschool.com/wp-content/plugins/quiz-master-next/php/classes/class-qmn-quiz-manager.php:1968

    Thread Starter eclhome

    (@eclhome)

    WordPress version: 6.3.1

    PHP: Currently 8.2 but I have tried 8.1, 8.0, 7.4, and 7.3 and the quizzes did not work.

    Quiz and Survey Master version: 8.1.16

    Current list of plugins, all are updated: Quiz and Survey Master, Cryout Serious Theme Settings, Query Monitor, WP Debugging, WP Rollback

    Thread Starter eclhome

    (@eclhome)

    Query master says this when I try to submit a quiz:

     Fatal error: Uncaught Error: count(): Argument #1 ($value) must be of type Countable|array, string given
    in /home2/canad/public_html/eclectic-homeschool.com/wp-content/plugins/quiz-master-next/php/classes/class-qmn-quiz-manager.php on line 1968

    Call stack:

    1. QMNQuizManager::check_answers()
      wp-content/plugins/quiz-master-next/php/classes/class-qmn-quiz-manager.php:1694
    2. QMNQuizManager::submit_results()
      wp-content/plugins/quiz-master-next/php/classes/class-qmn-quiz-manager.php:1600
    3. QMNQuizManager::ajax_submit_results()
      wp-includes/class-wp-hook.php:310
    4. WP_Hook::apply_filters()
      wp-includes/class-wp-hook.php:334
    5. WP_Hook::do_action()
      wp-includes/plugin.php:517
    6. do_action()
      wp-admin/admin-ajax.php:188

    Query Monitor

    Thread Starter eclhome

    (@eclhome)

    WarningCannot modify header information – headers already sent by (output started at /home2/canad/public_html/eclectic-homeschool.com/wp-includes/functions.php:7127)+

    1. wp-admin/includes/misc.php:1431

    1WordPress CoreWarningCannot modify header information – headers already sent by (output started at /home2/canad/public_html/eclectic-homeschool.com/wp-includes/functions.php:7127)+

    1. wp-includes/functions.php:6935

    1WordPress CoreWarningCannot modify header information – headers already sent by (output started at /home2/canad/public_html/eclectic-homeschool.com/wp-includes/functions.php:7127)+

    1. wp-admin/admin-header.php:9

    1WordPress CoreDeprecatedstrpos(): Passing null to parameter #1 ($haystack) of type string is deprecated+

    1. wp-includes/functions.php:7127

    3Plugin: quiz-master-nextDeprecatedstr_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated+

    1. wp-includes/functions.php:2182

    3Plugin: quiz-master-next

    Thread Starter eclhome

    (@eclhome)

    Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home2/canad/public_html/eclectic-homeschool.com/wp-includes/functions.php on line 2182

    Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home2/canad/public_html/eclectic-homeschool.com/wp-includes/functions.php on line 7127

    Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home2/canad/public_html/eclectic-homeschool.com/wp-includes/functions.php on line 2182

    Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home2/canad/public_html/eclectic-homeschool.com/wp-includes/functions.php on line 7127

    Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home2/canad/public_html/eclectic-homeschool.com/wp-includes/functions.php on line 2182

    Warning: Cannot modify header information – headers already sent by (output started at /home2/canad/public_html/eclectic-homeschool.com/wp-includes/functions.php:7127) in /home2/canad/public_html/eclectic-homeschool.com/wp-admin/includes/misc.php on line 1431

    Warning: Cannot modify header information – headers already sent by (output started at /home2/canad/public_html/eclectic-homeschool.com/wp-includes/functions.php:7127) in /home2/canad/public_html/eclectic-homeschool.com/wp-includes/functions.php on line 6935

    Warning: Cannot modify header information – headers already sent by (output started at /home2/canad/public_html/eclectic-homeschool.com/wp-includes/functions.php:7127) in /home2/canad/public_html/eclectic-homeschool.com/wp-admin/admin-header.php on line 9

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