Skip to content

Creating a BBB room without ‘welcome text’ leads to an error message #67

@kalorenz

Description

@kalorenz

ILIAS 9.7
Plugin Version 3.0.0

If a BBB room is created without a welcome text, there is an error (see screenshot). If the text is then added, there is a new error.

/var/www/ilias/Customising/global/plugins/Services/Repository/RepositoryObject/BigBlueButton/vendor/bigbluebutton/bigbluebutton-api-php/src/Parameters/CreateMeetingParameters.php
Line 1395:
{{ ‘welcome’ => trim($this->welcomeMessage),}}
If you enter a text, the script terminates in the next line:
Line 1396:
{{ ‘moderatorOnlyMessage’ => trim($this->moderatorOnlyMessage),}}
Whoops
Exception
ErrorException (E_DEPRECATED)
trim(): Passing null to parameter 0000001 ($string) of type string is deprecated

Whoops\Exception\ErrorException thrown with message "trim(): Passing null to parameter #1 ($string) of type string is deprecated"

Stacktrace:
#12 Whoops\Exception\ErrorException in /var/www/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/BigBlueButton/vendor/bigbluebutton/bigbluebutton-api-php/src/Parameters/CreateMeetingParameters.php:1395
#11 trim in /var/www/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/BigBlueButton/vendor/bigbluebutton/bigbluebutton-api-php/src/Parameters/CreateMeetingParameters.php:1395
#10 BigBlueButton\Parameters\CreateMeetingParameters:getHTTPQuery in /var/www/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/BigBlueButton/vendor/bigbluebutton/bigbluebutton-api-php/src/BigBlueButton.php:125
#9 BigBlueButton\BigBlueButton:getCreateMeetingUrl in /var/www/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/BigBlueButton/vendor/bigbluebutton/bigbluebutton-api-php/src/BigBlueButton.php:137
#8 BigBlueButton\BigBlueButton:createMeeting in /var/www/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/BigBlueButton/classes/class.ilBigBlueButtonProtocol.php:106
#7 ilBigBlueButtonProtocol:createMeeting in /var/www/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/BigBlueButton/classes/class.ilObjBigBlueButtonGUI.php:493
#6 ilObjBigBlueButtonGUI:startClass in /var/www/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/BigBlueButton/classes/class.ilObjBigBlueButtonGUI.php:86
#5 ilObjBigBlueButtonGUI:performCommand in /var/www/ilias/Services/Repository/PluginSlot/class.ilObjectPluginGUI.php:174
#4 ilObjectPluginGUI:executeCommand in /var/www/ilias/Services/UICore/classes/class.ilCtrl.php:119
#3 ilCtrl:forwardCommand in /var/www/ilias/Services/Repository/PluginSlot/class.ilObjPluginDispatchGUI.php:61
#2 ilObjPluginDispatchGUI:executeCommand in /var/www/ilias/Services/UICore/classes/class.ilCtrl.php:119
#1 ilCtrl:forwardCommand in /var/www/ilias/Services/UICore/classes/class.ilCtrl.php:92
#0 ilCtrl:callBaseClass in /var/www/ilias/ilias.php:24

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions