Hi
I'm using latest moodle currently (3.11.3) and some of my courses blocks are now marked with Coding error detected, it must be fixed by a programmer: Undefined custom completion rule 'completionpass' message. This prevents me to edit the whole block. Is there anything to reset the block on this spesific course? Thanks
The same error also showed up when i show the course overview block in the Dashboard
Debug info:
Error code: codingerror
Error code: codingerror
- line 62 of /completion/classes/activity_custom_completion.php: coding_exception thrown
- line 116 of /mod/quiz/classes/completion/custom_completion.php: call to core_completion\activity_custom_completion->validate_rule()
- line 1161 of /lib/completionlib.php: call to mod_quiz\completion\custom_completion->get_state()
- line 1108 of /lib/completionlib.php: call to completion_info->get_other_cm_completion_data()
- line 68 of /completion/classes/cm_completion_details.php: call to completion_info->get_data()
- line 273 of /completion/classes/cm_completion_details.php: call to core_completion\cm_completion_details->__construct()
- line 947 of /course/renderer.php: call to core_completion\cm_completion_details::get_instance()
- line 836 of /course/renderer.php: call to core_course_renderer->course_section_cm()
- line 1051 of /course/renderer.php: call to core_course_renderer->course_section_cm_list_item()
- line 885 of /course/format/renderer.php: call to core_course_renderer->course_section_cm_list()
- line 57 of /course/format/topics/format.php: call to format_section_renderer_base->print_multiple_section_page()
- line 278 of /course/view.php: call to require()