-
Bug
-
Resolution: Fixed
-
Minor
-
3.1.6, 3.2.3, 3.3
-
MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE
-
MOODLE_32_STABLE, MOODLE_33_STABLE
-
MDL-58916-master -
Because there is no page context the format string fails as it cannot determine the context. We can just use the site context
Coding problem: $PAGE->context was not set. You may have forgotten to call require_login() or $PAGE->set_context(). The page may not display correctly as a result
|
line 493 of /lib/pagelib.php: call to debugging()
|
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_context()
|
line 1435 of /lib/weblib.php: call to moodle_page->__get()
|
line 62 of /user/profile/field/menu/field.class.php: call to format_string()
|
line 622 of /user/profile/lib.php: call to profile_field_menu->__construct()
|
line 678 of /user/profile/lib.php: call to profile_user_record()
|
line 4712 of /lib/moodlelib.php: call to profile_load_custom_fields()
|
line 400 of /auth/oauth2/classes/auth.php: call to get_complete_user_data()
|
line 45 of /auth/oauth2/login.php: call to auth_oauth2\auth->complete_login()
|
This page did not call $PAGE->set_url(...). Using https://john-mac.per.in.moodle.com:4335/integration_master/auth/oauth2/login.php?wantsurl=https%3A%2F%2Fjohn-mac.per.in.moodle.com%3A4335%2Fintegration_master%2F&sesskey=cvGd22EVM6&id=2&oauth2code=Mf6b72b6d-c210-db78-8e81-04ab64edfe9c
|
line 600 of /lib/pagelib.php: call to debugging()
|
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_url()
|
line 565 of /admin/tool/usertours/classes/manager.php: call to moodle_page->__get()
|
line 505 of /admin/tool/usertours/classes/helper.php: call to tool_usertours\manager::get_current_tour()
|
line 75 of /admin/tool/usertours/lib.php: call to tool_usertours\helper::bootstrap()
|
line 1180 of /lib/outputrenderers.php: call to tool_usertours_before_footer()
|
line 1035 of /lib/outputrenderers.php: call to core_renderer->footer()
|
line ? of unknownfile: call to core_renderer->redirect_message()
|
line 1849 of /lib/setuplib.php: call to call_user_func_array()
|
line 2830 of /lib/weblib.php: call to bootstrap_renderer->__call()
|
line 2830 of /lib/weblib.php: call to bootstrap_renderer->redirect_message()
|
line 524 of /auth/oauth2/classes/auth.php: call to redirect()
|
line 45 of /auth/oauth2/login.php: call to auth_oauth2\auth->complete_login()
|
- Discovered while testing
-
MDL-58774 Same email address used to create a auth_oauth user and linked to another user moodle's account produce a Error: mdb->get_record() found more than one record
- Closed