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

Fatal error when attempting or reviewing a quiz

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0
    • 2.0
    • Quiz
    • None
    • MAMP
      Moodle 2.0 RC1 Build 2010101400
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      This issue relates to MDLQA-525.

      Test

      This test requires completion tracking to be enabled by an administrator in Site administration > Advanced features and in the course settings.
      1. Login as a teacher, access a quiz and edit the settings.
      2. Set the completion tracking to 'Show activity as complete when conditions are met'.
      3. Select 'Student must receive a grade to complete this activity'.
      4. Login as a student and attempt the quiz.
      5. Check that a tick is shown opposite the quiz on the course page.
      6. Login as the teacher again, access the course and check that the quiz is marked as complete for the student in Reports > Activity completion.

      Result

      Steps 1-3: pass
      Steps 4-6: fail. Student cannot view, attempt quiz and receives error dialogue similar to following...

      Fatal error: Call to a member function out() on a non-object in /Applications/MAMP/htdocs/moodle2rc1/mod/quiz/attemptlib.php on line 817

            timhunt Tim Hunt
            chadsta Chad Outten
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.