Hi,
I had a course backup from an old moodle installation (I think 3.6) and restored the course to a newer installation. The current version is 4.4 and was installed via Turnkey (I know, I know, I plan to do a proper setup asap).
When I try to view the question bank for the restored course, I get the following error:
More information about this error
Debug info:
Error code: codingerror
Stack trace:
- line 779 of /lib/dml/moodle_database.php: coding_exception thrown
- line 328 of /tag/classes/tag.php: call to moodle_database->get_in_or_equal()
- line 377 of /tag/classes/tag.php: call to core_tag_tag::get_by_name_bulk()
- line 108 of /question/classes/question_reference_manager.php: call to core_tag_tag::create_if_missing()
- line 183 of /mod/quiz/classes/question/bank/qbank_helper.php: call to core_question\question_reference_manager::convert_legacy_set_reference_filter_condition()
- line 732 of /mod/quiz/classes/structure.php: call to mod_quiz\question\bank\qbank_helper::get_question_structure()
- line 89 of /mod/quiz/classes/structure.php: call to mod_quiz\structure->populate_structure()
- line 99 of /mod/quiz/report/reportlib.php: call to mod_quiz\structure::create_for_quiz()
- line 890 of /mod/quiz/report/statistics/report.php: call to quiz_report_get_significant_questions()
- line 996 of /mod/quiz/report/statistics/report.php: call to quiz_statistics_report->load_and_initialise_questions_for_calculations()
- line 2532 of /mod/quiz/lib.php: call to quiz_statistics_report->calculate_questions_stats_for_question_bank()
- line 7705 of /lib/moodlelib.php: call to mod_quiz_calculate_question_stats()
- line 150 of /question/classes/local/statistics/statistics_bulk_loader.php: call to component_callback()
- line 64 of /question/classes/local/statistics/statistics_bulk_loader.php: call to core_question\local\statistics\statistics_bulk_loader::load_statistics_for_place()
- line 1220 of /question/classes/local/bank/view.php: call to core_question\local\statistics\statistics_bulk_loader::load_aggregate_statistics()
- line 1180 of /question/classes/local/bank/view.php: call to core_question\local\bank\view->load_required_statistics()
- line 916 of /question/classes/local/bank/view.php: call to core_question\local\bank\view->display_question_list()
- line 65 of /question/edit.php: call to core_question\local\bank\view->display()
There is no missing plugin for any question type.
My question:
If there is a specific category or question that is causing the issue, is there a way for me to find out which it is?
Thanks!