-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
4.4.4, 4.5
-
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()
- duplicates
-
MDL-83048 Quiz index bug when calling grade_out_of
-
- Closed
-