Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seeing hundreds of warnings running statistics #77

Open
universityofglasgow opened this issue Oct 24, 2023 · 0 comments
Open

Seeing hundreds of warnings running statistics #77

universityofglasgow opened this issue Oct 24, 2023 · 0 comments

Comments

@universityofglasgow
Copy link

Moodle 4.1.6
Plugin version: 2023-09-29 (10)

Running statistics we get hundreds of warnings. They just repeat for (presumably) different attempts, so here are some examples.

Warning: Attempt to read property "answerformat" on null in /var/www/html/moodle40/question/type/ordering/question.php on line 298
Unexpected sub-part id encountered.
line 133 of /question/classes/statistics/responses/analysis_for_question.php: call to debugging()
line 194 of /question/classes/statistics/responses/analysis_for_question.php: call to core_question\statistics\responses\analysis_for_question->get_analysis_for_subpart()
line 134 of /question/classes/statistics/responses/analyser.php: call to core_question\statistics\responses\analysis_for_question->count_response_parts()
line 803 of /mod/quiz/report/statistics/report.php: call to core_question\statistics\responses\analyser->calculate()
line 772 of /mod/quiz/report/statistics/report.php: call to quiz_statistics_report->analyse_responses_for_questions()
line 721 of /mod/quiz/report/statistics/report.php: call to quiz_statistics_report->analyse_responses_for_all_questions_and_subquestions()
line 159 of /mod/quiz/report/statistics/report.php: call to quiz_statistics_report->get_all_stats_and_analysis()
line 97 of /mod/quiz/report.php: call to quiz_statistics_report->display()
Unexpected class id 1 encountered.
line 87 of /question/classes/statistics/responses/analysis_for_subpart.php: call to debugging()
line 110 of /question/classes/statistics/responses/analysis_for_subpart.php: call to core_question\statistics\responses\analysis_for_subpart->get_response_class()
line 194 of /question/classes/statistics/responses/analysis_for_question.php: call to core_question\statistics\responses\analysis_for_subpart->count_response()
line 134 of /question/classes/statistics/responses/analyser.php: call to core_question\statistics\responses\analysis_for_question->count_response_parts()
line 803 of /mod/quiz/report/statistics/report.php: call to core_question\statistics\responses\analyser->calculate()
line 772 of /mod/quiz/report/statistics/report.php: call to quiz_statistics_report->analyse_responses_for_questions()
line 721 of /mod/quiz/report/statistics/report.php: call to quiz_statistics_report->analyse_responses_for_all_questions_and_subquestions()
line 159 of /mod/quiz/report/statistics/report.php: call to quiz_statistics_report->get_all_stats_and_analysis()
line 97 of /mod/quiz/report.php: call to quiz_statistics_report->display()
Warning: Undefined array key 11163912 in /var/www/html/moodle40/question/type/ordering/question.php on line 297

Warning: Attempt to read property "answer" on null in /var/www/html/moodle40/question/type/ordering/question.php on line 298

Warning: Attempt to read property "answerformat" on null in /var/www/html/moodle40/question/type/ordering/question.php on line 298
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant