-
Bug
-
Resolution: Fixed
-
Minor
-
2.7.12
-
MOODLE_27_STABLE
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
MDL-53598-master -
Easy
-
-
3.1 Sprint 7, 3.2 Sprint 1
-
Medium
Hi,
I am trying to change the course format, and there are two courses in the moodle I cannot change. Whenever I switched to another type of the course formats then save changes, I get this error:
Debug info: SELECT * FROM
WHERE id = ?
[array (
0 => '4',
)]
Error code: invalidrecord
Stack trace:
line 1451 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
line 1427 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
line 588 of /lib/datalib.php: call to moodle_database->get_record()
line 443 of /lib/modinfolib.php: call to get_course()
line 412 of /lib/modinfolib.php: call to course_modinfo->__construct()
line 2062 of /lib/modinfolib.php: call to course_modinfo::instance()
line 195 of /blocks/glossary_random/block_glossary_random.php: call to get_fast_modinfo()
line 294 of /blocks/moodleblock.class.php: call to block_glossary_random->get_content()
line 236 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
line 1002 of /lib/blocklib.php: call to block_base->get_content_for_output()
line 1054 of /lib/blocklib.php: call to block_manager->create_block_contents()
line 369 of /lib/outputrenderers.php: call to block_manager->ensure_content_created()
line 45 of /theme/clean/layout/columns3.php: call to core_renderer->standard_head_html()
line 885 of /lib/outputrenderers.php: call to include()
line 815 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 245 of /course/view.php: call to core_renderer->header()
Can I get some help with this?