-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
4.1.8
-
MOODLE_401_STABLE
Hello!
If you try to create an instance of BBB when its parameter "Moderator" (bigbluebuttonbn_participant_moderator_default) is empty you do not get a new instance but you get an error:
Exception - Return value of mod_bigbluebuttonbn\local\helpers\roles::get_role() must be an instance of stdClass, none returned
More information about this error
Debug info:
Error code: generalexceptionmessage×Dismiss this notification
Stack trace:
- line 199 of /mod/bigbluebuttonbn/classes/local/helpers/roles.php: TypeError thrown
- line 298 of /mod/bigbluebuttonbn/classes/local/helpers/roles.php: call to mod_bigbluebuttonbn\local\helpers\roles::get_role()
- line 238 of /mod/bigbluebuttonbn/classes/local/helpers/roles.php: call to mod_bigbluebuttonbn\local\helpers\roles::get_participant_rules_encoded()
- line 72 of /mod/bigbluebuttonbn/mod_form.php: call to mod_bigbluebuttonbn\local\helpers\roles::get_participant_list()
- line 214 of /lib/formslib.php: call to mod_bigbluebuttonbn_mod_form->definition()
- line 131 of /course/moodleform_mod.php: call to moodleform->__construct()
- line 152 of /course/modedit.php: call to moodleform_mod->__construct()
Steps:
- Deselect all options in "Moderator" (bigbluebuttonbn_participant_moderator_default) parameter in /admin/settings.php?section=mod_bigbluebuttonbn_participant. Save changes.
- Try to create a new instance of BBB in a course.
The plugin should probably use default value when its parameter is empty.
- is duplicated by
-
MDL-74965 BigBlueButton students access error
- Closed