Details
Description
Create a quiz and before adding any questions to it view the statistics report.
This looks like a recent regression, can not be reproduced on 2.5
Coding error detected, it must be fixed by a programmer: moodle_database::get_in_or_equal() does not accept empty arrays
|
|
More information about this error
|
Debug info:
|
Error code: codingerror
|
Stack trace:
|
|
line 687 of /lib/dml/moodle_database.php: coding_exception thrown
|
line 368 of /question/engine/datalib.php: call to moodle_database->get_in_or_equal()
|
line 287 of /question/classes/statistics/questions/calculator.php: call to question_engine_data_mapper->load_questions_usages_latest_steps()
|
line 81 of /question/classes/statistics/questions/calculator.php: call to core_question\statistics\questions\calculator->get_latest_steps()
|
line 510 of /mod/quiz/report/statistics/report.php: call to core_question\statistics\questions\calculator->calculate()
|
line 131 of /mod/quiz/report/statistics/report.php: call to quiz_statistics_report->get_quiz_and_questions_stats()
|
line 100 of /mod/quiz/report.php: call to quiz_statistics_report->display()
|
|
Attachments
Issue Links
- Testing discovered
-
MDL-41752 quiz_question_statistics_stats renamed to question_statistics_calculator, separate class question_statistics used to store calculated stats and api changed
-
- Closed
-