Support » Plugin: Chained Quiz » Couple of PHP Notices

  • Resolved nikkins82

    (@nikkins82)


    Sharing a couple of couple of PHP Notices

    Updated to v1.2.1.1

    WP v5.4.1

    [26-May-2020 13:56:24 UTC] PHP Notice:  Undefined property: stdClass::$qtype in /app/web/app/plugins/chained-quiz/models/question.php on line 247
    [26-May-2020 13:56:24 UTC] PHP Stack trace:
    [26-May-2020 13:56:24 UTC] PHP   1. {main}() /app/web/wp/wp-admin/admin-ajax.php:0
    [26-May-2020 13:56:24 UTC] PHP   2. do_action() /app/web/wp/wp-admin/admin-ajax.php:175
    [26-May-2020 13:56:24 UTC] PHP   3. WP_Hook->do_action() /app/web/wp/wp-includes/plugin.php:478
    [26-May-2020 13:56:24 UTC] PHP   4. WP_Hook->apply_filters() /app/web/wp/wp-includes/class-wp-hook.php:311
    [26-May-2020 13:56:24 UTC] PHP   5. chainedquiz_ajax() /app/web/wp/wp-includes/class-wp-hook.php:287
    [26-May-2020 13:56:24 UTC] PHP   6. ChainedQuizQuizzes::answer_question() /app/web/app/plugins/chained-quiz/controllers/ajax.php:14
    [26-May-2020 13:56:24 UTC] PHP   7. ChainedQuizQuestion::calc_answer() /app/web/app/plugins/chained-quiz/controllers/quizzes.php:189
    [26-May-2020 14:25:54 UTC] PHP Notice:  Trying to get property 'email_output' of non-object in /app/web/app/plugins/chained-quiz/views/quiz.html.php on line 47
    [26-May-2020 14:25:54 UTC] PHP Stack trace:
    [26-May-2020 14:25:54 UTC] PHP   1. {main}() /app/web/wp/wp-admin/admin.php:0
    [26-May-2020 14:25:54 UTC] PHP   2. do_action() /app/web/wp/wp-admin/admin.php:254
    [26-May-2020 14:25:54 UTC] PHP   3. WP_Hook->do_action() /app/web/wp/wp-includes/plugin.php:478
    [26-May-2020 14:25:54 UTC] PHP   4. WP_Hook->apply_filters() /app/web/wp/wp-includes/class-wp-hook.php:311
    [26-May-2020 14:25:54 UTC] PHP   5. ChainedQuizQuizzes::manage() /app/web/wp/wp-includes/class-wp-hook.php:287
    [26-May-2020 14:25:54 UTC] PHP   6. ChainedQuizQuizzes::add_quiz() /app/web/app/plugins/chained-quiz/controllers/quizzes.php:8
    [26-May-2020 14:25:54 UTC] PHP   7. include() /app/web/app/plugins/chained-quiz/controllers/quizzes.php:39
  • The topic ‘Couple of PHP Notices’ is closed to new replies.