Cource selection module create Course Blocks

OH NO!

Something has gone wrong: the Gibbons have escaped!

server error log is

2024/07/28 07:24:35 [error] 919884#919884: *13 FastCGI sent in stderr: “PHP message: Uncaught Exception: League\Container\Exception\NotFoundException - Alias (CourseSelection\Domain\BlocksGateway) is not being managed by the container or delegates in /home/gibbon/core/vendor/league/container/src/Container.php on line 188” while reading response header from upstream

errors at 28 and 27 version and course selection module version 12

Thanks @ayubxon Can you ensure you’re using the most up to date version of the Course Selection module from the Extend page and let me know if this error is still occurring with the new version, as it should have already been fixed. Thanks.

I am seeing the same error. Downloaded latest version of Course Selection. Gibbon version 27.0.1

Uncaught Exception : League\Container\Exception\NotFoundException - Alias (CourseSelection\Domain\BlocksGateway) is not being managed by the container or delegates.

  1. Line 188 in vendor/league/container/src/Container.php
  2. Line 21 in modules/Course Selection/blocks_manage_addEdit.php
  3. Line 87 in src/View/View.php
  4. Line 478 in src/View/Page.php
  5. Line 703 in index.php

Hi George, welcome to the forums :grin:

Thanks for the heads up, looks like an unintentional error in a community-contributed feature. I’ve fixed it here: Release Draggable Block Fix · SKuipers/module-courseSelection · GitHub and will update the Extend page shortly. If you download the zip and replace the contents of your Course Selection module folder, then update the module via System Admin > Manage Modules, should be good to go. Thanks!

Thank you. Just tested and it works. I am reading through the changes you made to get a better understanding of where the fix was.