-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.2.3, 4.3
-
MOODLE_402_STABLE, MOODLE_403_STABLE
Found during testing MDL-78439.
get_generated_svg_for_id() method needs the page context (A quite popular error for WS if we're trying to do something with global $OUTPUT).
If we do not set the page context, it will cause server error logs like this
Coding problem: $PAGE->context was not set. You may have forgotten to call require_login() or $PAGE->set_context().
|