Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.4
-
Fix Version/s: 2.4
-
Component/s: Dashboard (My home), MNet
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_24_STABLE
-
Fixed Branches:MOODLE_24_STABLE
-
Pull from Repository:
-
Pull Master Branch:wip-mdl-35784
-
Pull Master Diff URL:
Description
Following error is observed when user try to access my home page and is enrolled in mnet course
Debug info: SELECT id,category FROM {course} WHERE id = ?
|
[array (
|
0 => -7,
|
)]
|
Error code: invalidrecord
|
Stack trace:
|
|
line 1335 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
|
line 1311 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
|
line 6525 of /lib/accesslib.php: call to moodle_database->get_record()
|
line 1277 of /lib/weblib.php: call to context_course::instance()
|
line 114 of /blocks/course_overview/renderer.php: call to format_string()
|
line 86 of /blocks/course_overview/block_course_overview.php: call to block_course_overview_renderer->course_overview()
|
line 281 of /blocks/moodleblock.class.php: call to block_course_overview->get_content()
|
line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
|
line 935 of /lib/blocklib.php: call to block_base->get_content_for_output()
|
line 987 of /lib/blocklib.php: call to block_manager->create_block_contents()
|
line 314 of /lib/blocklib.php: call to block_manager->ensure_content_created()
|
line 1062 of /lib/outputrenderers.php: call to block_manager->get_content_for_region()
|
line 155 of /my/index.php: call to core_renderer->blocks_for_region()
|