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

Exception error thrown on quiz index page for students with grades

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 4.4.4, 4.5
    • Quiz
    • None
    • MOODLE_404_STABLE, MOODLE_405_STABLE

      With version 4.4.4 and 4.5

      When a student accesses the quiz index page (mod/quiz/index.php) and a quiz is graded, the following error is thrown :

      Exception : mod_quiz\output\grades\grade_out_of::__construct(): Argument #1 ($quiz) must be of type stdClass, string given, called in [dirroot]/mod/quiz/index.php on line 166

      Error code: generalexceptionmessage

      • line 50 of /mod/quiz/classes/output/grades/grade_out_of.php: TypeError thrown
      • line 166 of /mod/quiz/index.php: call to mod_quiz\output\grades\grade_out_of->__construct()

       

            Unassigned Unassigned
            mjleblanc Marie-Josée Leblanc
            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.