i got this error:
Exception - Call to a member function "has_subparts()" on false
on Moodle 4.3.2 with IIS WinServer2019
any hints plz
Same problem here. Moodle 4.4.1. It happened on quiz question statistics page /mod/quiz/report.php?id=432&mode=statistics&slot=6 after I changed the text of answers, although I didn't add or delete any answers.
Exception - Call to a member function has_subparts() on false
Debug info:
Error code: generalexceptionmessage
Stack trace:
line 79 of /mod/quiz/report/statistics/statistics_question_table.php: Error thrown
line 431 of /mod/quiz/report/statistics/report.php: call to quiz_statistics_question_table->question_setup()
line 246 of /mod/quiz/report/statistics/report.php: call to quiz_statistics_report->output_individual_question_response_analysis()
line 83 of /mod/quiz/report.php: call to quiz_statistics_report->display()