-
Bug
-
Resolution: Fixed
-
Minor
-
2.2.2, 2.3.2, 2.4
-
MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
MOODLE_22_STABLE, MOODLE_23_STABLE
-
Fatal error: Call to a member function add() on a non-object in .../my/index.php on line 88, on guest access to My Moodle.
Line 88 is:
$PAGE->settingsnav->get('usercurrentsettings')->add(get_string('makethismyhome'), new moodle_url('/my/', array('setdefaulthome'=>true)), navigation_node::TYPE_SETTING);
|
Probably the easiest way to reproduce is to try a direct access to my moodle by url (http://<your-moodle-domain>/my) when logged out.
This bug is perhaps more annoying to logged in users whose session times out when they are on my moodle, to the effect that when they refresh the page they get the blank instead of login page.