Hi, I get an error when I want to get into a course. I can't open the course with the trainer login and also I can't open it with the admin login. It's a new course which has only a few activities inside. I don't say what the problem is.
Requested user profile field does not exist
Debug info:
|
Error code: codingerror
|
Stack trace:
|
line 1301 of /lib/conditionlib.php: coding_exception thrown
|
line 1010 of /lib/conditionlib.php: call to condition_info_base->get_cached_user_profile_field()
|
line 1108 of /lib/modinfolib.php: call to condition_info_base->is_available()
|
line 345 of /lib/modinfolib.php: call to cm_info->obtain_dynamic_data()
|
line 1341 of /lib/modinfolib.php: call to course_modinfo->__construct()
|
line 1000 of /lib/completionlib.php: call to get_fast_modinfo()
|
line 47 of /report/progress/lib.php: call to completion_info->get_activities()
|
line 2457 of /lib/navigationlib.php: call to report_progress_extend_navigation_course()
|
line 1133 of /lib/navigationlib.php: call to global_navigation->add_course_essentials()
|
line 2918 of /lib/navigationlib.php: call to global_navigation->initialise()
|
line 766 of /lib/pagelib.php: call to navbar->has_items()
|
line 4 of /theme/leatherbound/layout/general.php: call to moodle_page->has_navbar()
|
line 804 of /lib/outputrenderers.php: call to include()
|
line 734 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
|
line 230 of /course/view.php: call to core_renderer->header()
|
- Discovered while testing
-
MDL-39536 Extending navigation from report progress is inefficient
-
- Closed
-
- has been marked as being related by
-
MDL-38289 Coding error with conditional access based on user profile field: Requested user profile field does not exist
-
- Closed
-
- will be (partly) resolved by
-
MDL-37792 Conditional Resource based on Profile Interest with a non-existant string
-
- Closed
-