-
Bug
-
Resolution: Fixed
-
Minor
-
4.0
-
MOODLE_400_STABLE
-
MOODLE_400_STABLE
-
-
0
-
HQ Team International CIH2-217
- Create a role with a capability 'moodle/role:assign'
- Create a user and give them this role in system context
- Enrol this user in a course
- Login as this user and go to the course participants page
- Exception happens:
Exception - Call to a member function out() on null
|
|
More information about this error
|
Debug info:
|
Error code: generalexceptionmessage
|
Stack trace:
|
|
line 96 of /lib/classes/output/participants_action_bar.php: Error thrown
|
line 163 of /lib/classes/output/participants_action_bar.php: call to core\output\participants_action_bar->get_content_for_select()
|
line 184 of /lib/classes/output/participants_action_bar.php: call to core\output\participants_action_bar->get_dropdown()
|
line 4939 of /lib/outputrenderers.php: call to core\output\participants_action_bar->export_for_template()
|
line 117 of /user/index.php: call to core_renderer->render_participants_tertiary_nav()
|