Skip to content

Deprecation Exception after Creating Object in Course #30

Description

@chfsx

Describe the bug
After creating a Opencast Event Video in a Course, the Course cannot be accessed anymore depending on the error level of the installation (we MUST fix deprecation issues as well...)

Whoops\Exception\ErrorException thrown with message "Creation of dynamic property ilObjOpencastEventListGUI::$payment_enabled is deprecated"

Stacktrace:
#21 Whoops\Exception\ErrorException in /var/www/html/public/Customizing/global/plugins/Services/Repository/RepositoryObject/OpencastEvent/classes/class.ilObjOpencastEventListGUI.php:36
#20 ilErrorHandling:handlePreWhoops in /var/www/html/public/Customizing/global/plugins/Services/Repository/RepositoryObject/OpencastEvent/classes/class.ilObjOpencastEventListGUI.php:36
#19 ilObjOpencastEventListGUI:initCommands in /var/www/html/components/ILIAS/Repository/PluginSlot/class.ilObjectPluginListGUI.php:49
#18 ilObjectPluginListGUI:init in /var/www/html/components/ILIAS/ILIASObject/classes/class.ilObjectListGUI.php:225
#17 ilObjectListGUI:__construct in /var/www/html/components/ILIAS/Repository/PluginSlot/class.ilObjectPluginListGUI.php:37
#16 ilObjectPluginListGUI:__construct in /var/www/html/components/ILIAS/ILIASObject/classes/class.ilObjectListGUIFactory.php:37
#15 ilObjectListGUIFactory:_getListGUIByType in /var/www/html/components/ILIAS/Container/Content/class.ItemRenderer.php:283
#14 ILIAS\Containter\Content\ItemRenderer:getItemGUI in /var/www/html/components/ILIAS/Container/Content/class.ItemRenderer.php:95
#13 ILIAS\Containter\Content\ItemRenderer:renderItem in /var/www/html/components/ILIAS/Container/Content/class.ilContainerRenderer.php:961
#12 ilContainerRenderer:renderItemBlockSequence in /var/www/html/components/ILIAS/Container/Content/SessionsView/class.ilContainerSessionsContentGUI.php:70
#11 ilContainerSessionsContentGUI:renderItemList in /var/www/html/components/ILIAS/Container/Content/class.ilContainerContentGUI.php:283
#10 ilContainerContentGUI:getMainContent in /var/www/html/components/ILIAS/Container/Content/class.ilContainerContentGUI.php:255
#9 ilContainerContentGUI:getCenterColumnHTML in /var/www/html/components/ILIAS/Container/Content/class.ilContainerContentGUI.php:172
#8 ilContainerContentGUI:setOutput in /var/www/html/components/ILIAS/Container/classes/class.ilContainerGUI.php:416
#7 ilContainerGUI:renderObject in /var/www/html/components/ILIAS/Course/classes/class.ilObjCourseGUI.php:151
#6 ilObjCourseGUI:viewObject in /var/www/html/components/ILIAS/Course/classes/class.ilObjCourseGUI.php:2489
#5 ilObjCourseGUI:executeCommand in /var/www/html/components/ILIAS/UICore/classes/class.ilCtrl.php:119
#4 ilCtrl:forwardCommand in /var/www/html/components/ILIAS/Repository/classes/class.ilRepositoryGUI.php:244
#3 ilRepositoryGUI:show in /var/www/html/components/ILIAS/Repository/classes/class.ilRepositoryGUI.php:224
#2 ilRepositoryGUI:executeCommand in /var/www/html/components/ILIAS/UICore/classes/class.ilCtrl.php:119
#1 ilCtrl:forwardCommand in /var/www/html/components/ILIAS/UICore/classes/class.ilCtrl.php:92
#0 ilCtrl:callBaseClass in /var/www/html/public/ilias.php:38

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Log
If you have it please attach the relevant log.

Environment (please complete the following information):

  • ILIAS version: [e.g. v7.6 2022-01-26]
  • PHP version: [e.g. PHP 7.4.3]
  • Plugin version: [e.g. 4.0.0]
  • Browser: [e.g. chrome, safari]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions