Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-1863

Question attempt problem in moodle.org cron

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: moodle.org
    • Labels:
      None

      Description

      Processing module function quiz_cron ...
      Looking for quiz overdue quiz attempts between Thursday, 1 January 1970, 8:00 AM and Tuesday, 31 July 2012, 10:29 AM...
      Default exception handler: Coding error detected, it must be fixed by a programmer: There is no question_attempt number 2348 in this attempt. Debug:
      Error code: codingerror

      • line 225 of /question/engine/questionusage.php: coding_exception thrown
      • line 239 of /question/engine/questionusage.php: call to question_usage_by_activity->check_slot()
      • line 186 of /question/engine/questionusage.php: call to question_usage_by_activity->get_question_attempt()
      • line 546 of /mod/quiz/attemptlib.php: call to question_usage_by_activity->get_question()
      • line 470 of /mod/quiz/attemptlib.php: call to quiz_attempt->number_questions()
      • line 78 of /mod/quiz/cronlib.php: call to quiz_attempt->__construct()
      • line 469 of /mod/quiz/lib.php: call to mod_quiz_overdue_attempt_updater->update_overdue_attempts()
      • line 259 of /lib/cronlib.php: call to quiz_cron()
      • line 61 of /admin/cli/cron.php: call to cron_run()

      !!! Coding error detected, it must be fixed by a programmer: There is no question_attempt number 2348 in this attempt. !!!

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tsala Helen Foster
              Reporter:
              poltawski Dan Poltawski
              Tester:
              Dan Poltawski
              Participants:
              Component watchers:
              Helen Foster
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: