Slim Application Error

The application could not run because of the following error:

Details

Type: Twig\Error\RuntimeError
Code: 0
Message: An exception has been thrown during the rendering of a template ("Slim\Views\TwigRuntimeExtension::urlFor(): Argument #1 ($routeName) must be of type string, null given, called in /var/www/clients/client0/web6/web/vendor/twig/twig/src/Environment.php(384) : eval()'d code on line 159").
File: /var/www/clients/client0/web6/web/resources/views/templates/components/content.twig
Line: 44

Trace

#0 /var/www/clients/client0/web6/web/vendor/twig/twig/src/Environment.php(384) : eval()'d code(270): Twig\Template->yieldBlock()
#1 /var/www/clients/client0/web6/web/vendor/twig/twig/src/Template.php(360): __TwigTemplate_5cb6691d6839ac6a56726ea12177d44c->doDisplay()
#2 /var/www/clients/client0/web6/web/vendor/twig/twig/src/Environment.php(384) : eval()'d code(46): Twig\Template->yield()
#3 /var/www/clients/client0/web6/web/vendor/twig/twig/src/Template.php(360): __TwigTemplate_994d15ef7492dbcbe80369fb9eae3d86->doDisplay()
#4 /var/www/clients/client0/web6/web/vendor/twig/twig/src/Template.php(335): Twig\Template->yield()
#5 /var/www/clients/client0/web6/web/vendor/twig/twig/src/TemplateWrapper.php(38): Twig\Template->render()
#6 /var/www/clients/client0/web6/web/vendor/twig/twig/src/Environment.php(299): Twig\TemplateWrapper->render()
#7 /var/www/clients/client0/web6/web/vendor/slim/twig-view/src/Twig.php(154): Twig\Environment->render()
#8 /var/www/clients/client0/web6/web/vendor/slim/twig-view/src/Twig.php(210): Slim\Views\Twig->fetch()
#9 /var/www/clients/client0/web6/web/app/Controllers/ContentController.php(53): Slim\Views\Twig->render()
#10 /var/www/clients/client0/web6/web/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponseArgs.php(36): App\Controllers\ContentController->getContentByPlain()
#11 /var/www/clients/client0/web6/web/vendor/slim/slim/Slim/Routing/Route.php(358): Slim\Handlers\Strategies\RequestResponseArgs->__invoke()
#12 /var/www/clients/client0/web6/web/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Slim\Routing\Route->handle()
#13 /var/www/clients/client0/web6/web/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Slim\MiddlewareDispatcher->handle()
#14 /var/www/clients/client0/web6/web/vendor/slim/slim/Slim/Routing/Route.php(315): Slim\MiddlewareDispatcher->handle()
#15 /var/www/clients/client0/web6/web/vendor/slim/slim/Slim/Routing/RouteRunner.php(68): Slim\Routing\Route->run()
#16 /var/www/clients/client0/web6/web/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(76): Slim\Routing\RouteRunner->handle()
#17 /var/www/clients/client0/web6/web/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\ErrorMiddleware->process()
#18 /var/www/clients/client0/web6/web/app/Middleware/PageCacheMiddleware.php(31): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#19 /var/www/clients/client0/web6/web/vendor/symfony/cache/LockRegistry.php(111): App\Middleware\PageCacheMiddleware->App\Middleware\{closure}()
#20 /var/www/clients/client0/web6/web/vendor/symfony/cache/Traits/ContractsTrait.php(102): Symfony\Component\Cache\LockRegistry::compute()
#21 /var/www/clients/client0/web6/web/vendor/symfony/cache-contracts/CacheTrait.php(64): Symfony\Component\Cache\Adapter\AbstractAdapter->Symfony\Component\Cache\Traits\{closure}()
#22 /var/www/clients/client0/web6/web/vendor/symfony/cache/Traits/ContractsTrait.php(85): Symfony\Component\Cache\Adapter\AbstractAdapter->contractsGet()
#23 /var/www/clients/client0/web6/web/vendor/symfony/cache-contracts/CacheTrait.php(30): Symfony\Component\Cache\Adapter\AbstractAdapter->doGet()
#24 /var/www/clients/client0/web6/web/app/Middleware/PageCacheMiddleware.php(30): Symfony\Component\Cache\Adapter\AbstractAdapter->get()
#25 /var/www/clients/client0/web6/web/vendor/slim/slim/Slim/MiddlewareDispatcher.php(269): App\Middleware\PageCacheMiddleware->__invoke()
#26 /var/www/clients/client0/web6/web/app/Middleware/ValidationErrorsMiddleware.php(22): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#27 /var/www/clients/client0/web6/web/vendor/slim/slim/Slim/MiddlewareDispatcher.php(269): App\Middleware\ValidationErrorsMiddleware->__invoke()
#28 /var/www/clients/client0/web6/web/app/Middleware/OldInputMiddleware.php(23): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#29 /var/www/clients/client0/web6/web/vendor/slim/slim/Slim/MiddlewareDispatcher.php(269): App\Middleware\OldInputMiddleware->__invoke()
#30 /var/www/clients/client0/web6/web/app/Middleware/CsrfViewMiddleware.php(30): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#31 /var/www/clients/client0/web6/web/vendor/slim/slim/Slim/MiddlewareDispatcher.php(269): App\Middleware\CsrfViewMiddleware->__invoke()
#32 /var/www/clients/client0/web6/web/app/Middleware/MainMiddleware.php(192): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#33 /var/www/clients/client0/web6/web/vendor/slim/slim/Slim/MiddlewareDispatcher.php(269): App\Middleware\MainMiddleware->__invoke()
#34 /var/www/clients/client0/web6/web/vendor/selective/basepath/src/BasePathMiddleware.php(52): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#35 /var/www/clients/client0/web6/web/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Selective\BasePath\BasePathMiddleware->process()
#36 /var/www/clients/client0/web6/web/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#37 /var/www/clients/client0/web6/web/vendor/slim/slim/Slim/App.php(199): Slim\MiddlewareDispatcher->handle()
#38 /var/www/clients/client0/web6/web/vendor/slim/slim/Slim/App.php(183): Slim\App->handle()
#39 /var/www/clients/client0/web6/web/public/index.php(16): Slim\App->run()
#40 {main}
Go Back