Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-81796

Exception related to communication component being thrown while deleting course

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 4.5
    • Communication
    • MOODLE_405_STABLE
    • 1
    • Team Hedgehog 2024 Review 1
    • Small

      Noticed while trying to delete a course in the QA site:

      Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /opt/app/lib/outputrenderers.php on line 1530
      Exception - Call to a member function get_all_userids_for_instance() on null
      Debug info:
      Error code: generalexceptionmessage
      Stack trace:
       
          line 181 of /communication/classes/helper.php: Error thrown
          line 561 of /communication/classes/hook_listener.php: call to core_communication\helper::update_course_communication_room_membership()
          line ? of unknownfile: call to core_communication\hook_listener::remove_communication_memberships_for_enrol_instance_deletion()
          line 299 of /lib/classes/hook/manager.php: call to call_user_func()
          line 2768 of /lib/enrollib.php: call to core\hook\manager->dispatch()
          line 1192 of /lib/enrollib.php: call to enrol_plugin->delete_instance()
          line 4888 of /lib/moodlelib.php: call to enrol_course_delete()
          line 4667 of /lib/moodlelib.php: call to remove_course_contents()
          line 78 of /course/delete.php: call to delete_course()
      

            david.woloszyn@moodle.com David Woloszyn
            lameze Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 36 minutes
                1h 36m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.