We are migrating from moodle v2.8 to v3.9, on a new server. The major challenge we are trying to overcome is that our team does not want the ELIS plugin (https://docs.moodle.org/29/en/ELIS_Introduction) to come over to the new environment. Because of this, our migration deviates slightly from the recommended practice. We installed the moodle codebase , copied over the moodledata folder, but we did not take a full mysql dump.
We are manually exporting data from the old 2.8 database and then importing that data into the 3.9 database.
However, for courses, we are getting the following stack trace when viewing a course. This repeats probably anywhere between 20-50 times. The page does load with the course information and sections, and sidebar, but when clicking scorm links, I get another error.
We were careful when importing all relevant course database tables, as well as context, block_instances, and other tables.
Are there any ideas on what we should look at to fix this? ANY ideas , no matter how small are very appreciated!!! thanks!!
ERRORS WHEN viewing a page such as: /course/view.php?id=915
- line 5062 of /lib/accesslib.php: call to debugging()
- line 6097 of /lib/accesslib.php: call to context::preload_from_record()
- line 1686 of /lib/navigationlib.php: call to context_helper::preload_from_record()
- line 1924 of /lib/navigationlib.php: call to global_navigation->load_all_courses()
- line 2674 of /lib/navigationlib.php: call to global_navigation->load_all_categories()
- line 1356 of /lib/navigationlib.php: call to global_navigation->add_course()
- line 4146 of /lib/navigationlib.php: call to global_navigation->initialise()
- line 768 of /lib/pagelib.php: call to settings_navigation->__construct()
- line 830 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
- line 135 of /blocks/settings/block_settings.php: call to moodle_page->__get()
- line 341 of /blocks/moodleblock.class.php: call to block_settings->get_content()
- line 235 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
- line 1181 of /lib/blocklib.php: call to block_base->get_content_for_output()
- line 1239 of /lib/blocklib.php: call to block_manager->create_block_contents()
- line 374 of /lib/blocklib.php: call to block_manager->ensure_content_created()
- line 3965 of /lib/outputrenderers.php: call to block_manager->region_has_content()
- line 40 of /theme/boost/layout/columns2.php: call to core_renderer->blocks()
- line 1376 of /lib/outputrenderers.php: call to include()
- line 1306 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
- line 244 of /course/view.php: call to core_renderer->header()
- line 5062 of /lib/accesslib.php: call to debugging()
- line 6097 of /lib/accesslib.php: call to context::preload_from_record()
- line 218 of /course/classes/category.php: call to context_helper::preload_from_record()
- line 266 of /course/classes/category.php: call to core_course_category->__construct()
- line 1114 of /calendar/lib.php: call to core_course_category::get()
- line 52 of /blocks/calendar_upcoming/block_calendar_upcoming.php: call to calendar_information::create()
- line 341 of /blocks/moodleblock.class.php: call to block_calendar_upcoming->get_content()
- line 235 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
- line 1181 of /lib/blocklib.php: call to block_base->get_content_for_output()
- line 1239 of /lib/blocklib.php: call to block_manager->create_block_contents()
- line 374 of /lib/blocklib.php: call to block_manager->ensure_content_created()
- line 3965 of /lib/outputrenderers.php: call to block_manager->region_has_content()
- line 40 of /theme/boost/layout/columns2.php: call to core_renderer->blocks()
- line 1376 of /lib/outputrenderers.php: call to include()
- line 1306 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
- line 244 of /course/view.php: call to core_renderer->header()
Invalid course module ID
Error code: invalidcoursemodule
- line 498 of /lib/setuplib.php: moodle_exception thrown
- line 46 of /mod/resource/view.php: call to print_error()
- line 5195 of /lib/accesslib.php: call to debugging()
- line 7407 of /lib/accesslib.php: call to context->__construct()
- line 5212 of /lib/accesslib.php: call to context_block->__construct()
- line 5595 of /lib/accesslib.php: call to context::create_instance_from_record()
- line 6142 of /lib/accesslib.php: call to context->get_child_contexts()
- line 478 of /lib/modinfolib.php: call to context_helper::preload_course()
- line 417 of /lib/modinfolib.php: call to course_modinfo->__construct()
- line 2183 of /lib/modinfolib.php: call to course_modinfo::instance()
- line 2050 of /lib/navigationlib.php: call to get_fast_modinfo()
- line 2114 of /lib/navigationlib.php: call to global_navigation->generate_sections_and_activities()
- line 502 of /course/format/lib.php: call to global_navigation->load_generic_course_sections()
- line 2029 of /lib/navigationlib.php: call to format_base->extend_course_navigation()
- line 1313 of /lib/navigationlib.php: call to global_navigation->load_course_sections()
- line 3503 of /lib/navigationlib.php: call to global_navigation->initialise()
- line 3548 of /lib/navigationlib.php: call to navbar->has_items()
- line 4551 of /lib/outputrenderers.php: call to navbar->get_items()
- line 44 of /theme/boost/layout/columns2.php: call to core_renderer->region_main_settings_menu()
- line 1376 of /lib/outputrenderers.php: call to include()
- line 1306 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
- line 2822 of /lib/outputrenderers.php: call to core_renderer->header()
- line 1945 of /lib/setuplib.php: call to core_renderer->fatal_error()
- line 390 of /lib/setuplib.php: call to bootstrap_renderer->__call()
- line ? of unknownfile: call to default_exception_handler()