-
Bug
-
Resolution: Fixed
-
Minor
-
3.3.4, 3.4.1
-
MOODLE_33_STABLE, MOODLE_34_STABLE
-
MOODLE_33_STABLE, MOODLE_34_STABLE
-
PHP logs are full of
[05-Feb-2018 20:07:00 Europe/London] Debugging: 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 in
line 493 of /lib/pagelib.php: call to debugging()
line 1587 of /lib/pagelib.php: call to moodle_page->magic_get_context()
line 677 of /lib/pagelib.php: call to moodle_page->initialise_theme_and_output()
line 864 of /lib/pagelib.php: call to moodle_page->magic_get_theme()
line 390 of /lib/setuplib.php: call to moodle_page->get_renderer()
line ? of unknownfile: call to default_exception_handler()
This is because MDL-57103 uses global $PAGE in a place way before it has been initialised.
- is a regression caused by
-
MDL-57103 Exceptions are not handled in ajax requests
- Closed