Routes don't get resolved with 3.1.3 and 3.1.4

Issue #1 resolved
Martin Sotirov created an issue

I'm using slim 3.8 and league/container 2.4.1. My routes get handled correctly with your package up to version 3.1.2. I updated to 3.1.4 and now I get the following error:

Fatal error: Uncaught League\Container\Exception\NotFoundException: Alias (router) is not being managed by the container in /app/vendor/league/container/src/Container.php:301 Stack trace: #0 /app/vendor/league/container/src/Container.php(90): League\Container\Container->getFromThisContainer('router', Array) #1 /app/vendor/slim/slim/Slim/App.php(239): League\Container\Container->get('router') #2 /app/vendor/slim/slim/Slim/App.php(143): Slim\App->map(Array, '/', Object(Closure)) #3 /app/public/index.php(21): Slim\App->get('/', Object(Closure)) #4 {main} thrown in /app/vendor/league/container/src/Container.php on line 301

Comments (2)

  1. Log in to comment