We are using Moodle 4.1.9 and in several courses (also restores from backups) we have problems to open the Question tab in a quiz. This is the stacktrace of one the courses with these problems:
Foutopsporingsinformatie:
Error code: codingerror×Verwerp deze opmerking
Stack trace: - line 5421 of /lib/accesslib.php: coding_exception thrown
- line 261 of /mod/quiz/classes/structure.php: call to context::instance_by_id()
- line 841 of /mod/quiz/classes/output/edit_renderer.php: call to mod_quiz\structure->has_use_capability()
- line 761 of /mod/quiz/classes/output/edit_renderer.php: call to mod_quiz\output\edit_renderer->get_action_icon()
- line 547 of /mod/quiz/classes/output/edit_renderer.php: call to mod_quiz\output\edit_renderer->question()
- line 520 of /mod/quiz/classes/output/edit_renderer.php: call to mod_quiz\output\edit_renderer->question_row()
- line 95 of /mod/quiz/classes/output/edit_renderer.php: call to mod_quiz\output\edit_renderer->questions_in_section()
- line 210 of /mod/quiz/edit.php: call to mod_quiz\output\edit_renderer->edit_page()
What could be the reason of this error? Could it also have a relation with this tracker?
https://tracker.moodle.org/browse/MDL-61267