Notice: Undefined offset: 5 in /var/www/html/stemcollection/moodle/question/type/multianswer/renderer.php on line 52

Coding error detected, it must be fixed by a programmer: PHP catchable fatal error

More information about this error

Debug info: Argument 4 passed to qtype_multianswerwiris_helper_renderer::subquestion() must be an instance of question_graded_automatically, null given, called in [dirroot]/question/type/multianswer/renderer.php on line 52 and defined
Error code: codingerror
Stack trace:
  • line 406 of /lib/setuplib.php: coding_exception thrown
  • line 28 of /question/type/multianswerwiris/renderer.php: call to default_error_handler()
  • line 52 of /question/type/multianswer/renderer.php: call to qtype_multianswerwiris_helper_renderer->subquestion()
  • line 29 of /question/type/wq/renderer.php: call to qtype_multianswer_renderer->formulation_and_controls()
  • line 329 of /question/engine/renderer.php: call to qtype_wq_renderer->formulation_and_controls()
  • line 81 of /question/engine/renderer.php: call to core_question_renderer->formulation()
  • line 141 of /question/behaviour/behaviourbase.php: call to core_question_renderer->question()
  • line 739 of /question/engine/questionattempt.php: call to question_behaviour->render()
  • line 360 of /question/engine/questionusage.php: call to question_attempt->render()
  • line 377 of /question/stemcollection_preview.php: call to question_usage_by_activity->render_question()