Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.0.3, 2.1.1, 2.2
-
Component/s: Course completion
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
-
Fixed Branches:MOODLE_20_STABLE, MOODLE_21_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
Reproduced only in 2.0 (2.1 works ok)
see testing instructions
Field "courseid" does not exist in table "user_enrolments"
Stack trace:
line 508 of /lib/dml/moodle_database.php: dml_exception thrown
line 1297 of /lib/dml/moodle_database.php: call to moodle_database->where_clause()
line 93 of /lib/completion/completion_criteria_duration.php: call to moodle_database->get_field()
line 156 of /lib/completion/completion_criteria_duration.php: call to completion_criteria_duration->get_timeenrolled()
line 208 of /lib/completion/completion_criteria_completion.php: call to completion_criteria_duration->get_status()
line 145 of /blocks/completionstatus/block_completionstatus.php: call to completion_criteria_completion->get_status()
line 280 of /blocks/moodleblock.class.php: call to block_completionstatus->get_content()
line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
line 899 of /lib/blocklib.php: call to block_base->get_content_for_output()
line 951 of /lib/blocklib.php: call to block_manager->create_block_contents()
line 342 of /lib/blocklib.php: call to block_manager->ensure_content_created()
line 7 of /theme/base/layout/general.php: call to block_manager->region_has_content()
line 650 of /lib/outputrenderers.php: call to include()
line 608 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line ? of unknownfile: call to core_renderer->header()
line 1279 of /lib/setuplib.php: call to call_user_func_array()
line ? of unknownfile: call to bootstrap_renderer->__call()
line 196 of /course/view.php: call to bootstrap_renderer->header()
Attachments
Issue Links
- is duplicated by
-
MDL-26443 Course completion status block error on accessing course
-
- Closed
-