You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following exception occurs when you attempt to add a 'teachername' element to a site template.
Coding error detected, it must be fixed by a programmer: Context does not belong to any course.
Stack trace:
line 5522 of /lib/accesslib.php: coding_exception thrown
line 1424 of /lib/enrollib.php: call to context->get_course_context()
line 1341 of /lib/enrollib.php: call to get_enrolled_join()
line 1392 of /lib/enrollib.php: call to get_enrolled_with_capabilities_join()
line 1515 of /lib/enrollib.php: call to get_enrolled_sql()
line 109 of /mod/customcert/element/teachername/classes/element.php: call to get_enrolled_users()
line 45 of /mod/customcert/element/teachername/classes/element.php: call to customcertelement_teachername\element->get_list_of_teachers()
line 67 of /mod/customcert/classes/edit_element_form.php: call to customcertelement_teachername\element->render_form_elements()
line 204 of /lib/formslib.php: call to mod_customcert\edit_element_form->definition()
line 79 of /mod/customcert/edit_element.php: call to moodleform->__construct()
The text was updated successfully, but these errors were encountered:
The following exception occurs when you attempt to add a 'teachername' element to a site template.
The text was updated successfully, but these errors were encountered: