Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.5.5, 2.6.2, 2.7
-
Component/s: Other
-
Labels:None
-
Testing Instructions:
-
Affected Branches:MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
-
Fixed Branches:MOODLE_25_STABLE, MOODLE_26_STABLE
-
Pull from Repository:
-
Pull Master Branch:wip-
MDL-45154-master -
Pull Master Diff URL:
Description
Discovered while testing MDL-44658 :
When entering user profiles page for the first time there is a warning:
You should really redirect before you start page output
|
|
line 758 of /lib/outputrenderers.php: call to debugging()
|
line 2592 of /lib/weblib.php: call to core_renderer->redirect_message()
|
line 121 of /user/profile/index.php: call to redirect()
|
If I continue and click "Edit" cog near the category, I get a fatal error:
|
Notice: Undefined variable: CFG in /home/marina/repositories/master/moodle/user/profile/index_category_form.php on line 29
|
|
Notice: Trying to get property of non-object in /home/marina/repositories/master/moodle/user/profile/index_category_form.php on line 29
|
|
Warning: require_once(/lib/formslib.php): failed to open stream: No such file or directory in /home/marina/repositories/master/moodle/user/profile/index_category_form.php on line 29
|
|
Fatal error: require_once(): Failed opening required '/lib/formslib.php' (include_path='/home/marina/repositories/master/moodle/lib/zend:/home/marina/repositories/master/moodle/lib/pear:.:/usr/share/php:/usr/share/pear') in /home/marina/repositories/master/moodle/user/profile/index_category_form.php on line 29
|