Fatal error: Uncaught Error: Cannot use object of type DI\Container as array in /var/www/kuaaly_fe/app/routes.php:261 Stack trace: #0 /var/www/kuaaly_fe/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(38): Closure->{closure}(Object(Slim\Psr7\Request), Object(Slim\Psr7\Response), Array) #1 /var/www/kuaaly_fe/vendor/slim/slim/Slim/Routing/Route.php(358): Slim\Handlers\Strategies\RequestResponse->__invoke(Object(Closure), Object(Slim\Psr7\Request), Object(Slim\Psr7\Response), Array) #2 /var/www/kuaaly_fe/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Slim\Routing\Route->handle(Object(Slim\Psr7\Request)) #3 /var/www/kuaaly_fe/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request)) #4 /var/www/kuaaly_fe/vendor/slim/slim/Slim/Routing/Route.php(315): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request)) #5 /var/www/kuaaly_fe/vendor/slim/slim/Slim/Routing/RouteRunner.php(68): Slim\Routing\Route->run(Object(Slim\Psr7\Request)) #6 /var/www/kuaaly_fe/src/Application/Middleware/FlashMiddleware.php(48): Slim\Routing\RouteRunner->handle(Object(Slim\Psr7\Request)) #7 /var/www/kuaaly_fe/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): App\Application\Middleware\FlashMiddleware->process(Object(Slim\Psr7\Request), Object(Slim\Routing\RouteRunner)) #8 /var/www/kuaaly_fe/src/Application/Middleware/LocalizationMiddleware.php(55): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Slim\Psr7\Request)) #9 /var/www/kuaaly_fe/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): App\Application\Middleware\LocalizationMiddleware->process(Object(Slim\Psr7\Request), Object(Psr\Http\Server\RequestHandlerInterface@anonymous)) #10 /var/www/kuaaly_fe/src/Application/Middleware/LogRequest.php(55): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Slim\Psr7\Request)) #11 /var/www/kuaaly_fe/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): App\Application\Middleware\LogRequest->__invoke(Object(Slim\Psr7\Request), Object(Psr\Http\Server\RequestHandlerInterface@anonymous)) #12 /var/www/kuaaly_fe/src/Application/Middleware/InternetExplorerMiddleware.php(57): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Slim\Psr7\Request)) #13 /var/www/kuaaly_fe/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): App\Application\Middleware\InternetExplorerMiddleware->__invoke(Object(Slim\Psr7\Request), Object(Psr\Http\Server\RequestHandlerInterface@anonymous)) #14 /var/www/kuaaly_fe/src/Application/Middleware/MaintenanceMiddleware.php(56): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Slim\Psr7\Request)) #15 /var/www/kuaaly_fe/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): App\Application\Middleware\MaintenanceMiddleware->__invoke(Object(Slim\Psr7\Request), Object(Psr\Http\Server\RequestHandlerInterface@anonymous)) #16 /var/www/kuaaly_fe/src/Application/Middleware/LanguageMiddleware.php(79): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Slim\Psr7\Request)) #17 /var/www/kuaaly_fe/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): App\Application\Middleware\LanguageMiddleware->__invoke(Object(Slim\Psr7\Request), Object(Psr\Http\Server\RequestHandlerInterface@anonymous)) #18 /var/www/kuaaly_fe/src/Application/Middleware/TwigRequestMiddleware.php(40): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Slim\Psr7\Request)) #19 /var/www/kuaaly_fe/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): App\Application\Middleware\TwigRequestMiddleware->process(Object(Slim\Psr7\Request), Object(Psr\Http\Server\RequestHandlerInterface@anonymous)) #20 /var/www/kuaaly_fe/src/Application/Middleware/BrandingMiddleware.php(89): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Slim\Psr7\Request)) #21 /var/www/kuaaly_fe/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): App\Application\Middleware\BrandingMiddleware->__invoke(Object(Slim\Psr7\Request), Object(Psr\Http\Server\RequestHandlerInterface@anonymous)) #22 /var/www/kuaaly_fe/src/Application/Middleware/RequestHelperMiddleware.php(50): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Slim\Psr7\Request)) #23 /var/www/kuaaly_fe/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): App\Application\Middleware\RequestHelperMiddleware->__invoke(Object(Slim\Psr7\Request), Object(Psr\Http\Server\RequestHandlerInterface@anonymous)) #24 /var/www/kuaaly_fe/vendor/akrabat/rka-slim-session-middleware/RKA/SessionMiddleware.php(66): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Slim\Psr7\Request)) #25 /var/www/kuaaly_fe/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): RKA\SessionMiddleware->process(Object(Slim\Psr7\Request), Object(Psr\Http\Server\RequestHandlerInterface@anonymous)) #26 /var/www/kuaaly_fe/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php(45): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Slim\Psr7\Request)) #27 /var/www/kuaaly_fe/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\RoutingMiddleware->process(Object(Slim\Psr7\Request), Object(Psr\Http\Server\RequestHandlerInterface@anonymous)) #28 /var/www/kuaaly_fe/vendor/slim/slim/Slim/Middleware/BodyParsingMiddleware.php(64): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Slim\Psr7\Request)) #29 /var/www/kuaaly_fe/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\BodyParsingMiddleware->process(Object(Slim\Psr7\Request), Object(Psr\Http\Server\RequestHandlerInterface@anonymous)) #30 /var/www/kuaaly_fe/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Slim\Psr7\Request)) #31 /var/www/kuaaly_fe/vendor/slim/slim/Slim/App.php(199): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request)) #32 /var/www/kuaaly_fe/public/index.php(90): Slim\App->handle(Object(Slim\Psr7\Request)) #33 {main} thrown in /var/www/kuaaly_fe/app/routes.php on line 261