Exception - Call to a member function "has_subparts()" on false

Exception - Call to a member function "has_subparts()" on false

de mik dodge -
Número de respuestas: 4

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

Promedio de valoraciones: -
En respuesta a mik dodge

Re: Exception - Call to a member function "has_subparts()" on false

de Leon Stringer -
Imagen de Core developers Imagen de Particularly helpful Moodlers
Enable debugging to show more details with the error.
En respuesta a Leon Stringer

Re: Exception - Call to a member function "has_subparts()" on false

de Zoran Jančić -
Imagen de Particularly helpful Moodlers

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()

En respuesta a Zoran Jančić

Re: Exception - Call to a member function "has_subparts()" on false

de Tim Hunt -
Imagen de Core developers Imagen de Documentation writers Imagen de Particularly helpful Moodlers Imagen de Peer reviewers Imagen de Plugin developers
So, this is MDL-79587 - which I keep not getting time to work on.