Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-33048

Quiz with a close time causes a Fatal Error on MyMoodle

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3
    • 2.3
    • Dashboard (My home), Quiz
    • None
    • Apache2, php5, mysql5.5
    • MySQL
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • Hide

      Disable the quiz close time, or hide the quiz from view

      Show
      Disable the quiz close time, or hide the quiz from view
    • Hide

      You need a course with quizzes with closing time set but with the closing time not passed, and you need a student user enrolled in that course who has attempted some quizzes.

      Logged in as that student, go to the My Moodle page.

      Show
      You need a course with quizzes with closing time set but with the closing time not passed, and you need a student user enrolled in that course who has attempted some quizzes. Logged in as that student, go to the My Moodle page.

    Description

      An open quiz with a closing time set causes the following debug error on an enrolled student's MyMoodle page:

      Fatal error: Class 'quiz_attempt' not found in /var/www/moodle/mod/quiz/lib.php on line 496

      This prevents the page from rendering any blocks, so the student is unable to navigate, and can only log out.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              chadberg Chad Bergeron
              Dan Poltawski Dan Poltawski
              Dan Poltawski Dan Poltawski
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona), Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                25/Jun/12