Fatal error: Uncaught TypeError: twig_escape_filter(): Argument #1 ($env) must be of type Twig\Environment, string given, called in /var/www/html/site/src/vendor/twig/twig/src/Environment.php(361) : eval()'d code on line 81 and defined in /var/www/html/site/src/vendor/twig/twig/src/Extension/EscaperExtension.php:166
Stack trace:
#0 /var/www/html/site/src/vendor/twig/twig/src/Environment.php(361) : eval()'d code(81): twig_escape_filter('/', '/', 'html', NULL, true)
#1 /var/www/html/site/src/vendor/twig/twig/src/Template.php(394): __TwigTemplate_1077f2da0ceee2a050ece44c3a933e74->doDisplay(Array, Array)
#2 /var/www/html/site/src/vendor/twig/twig/src/Template.php(367): Twig\Template->displayWithErrorHandling(Array, Array)
#3 /var/www/html/site/src/vendor/twig/twig/src/Environment.php(361) : eval()'d code(43): Twig\Template->display(Array, Array)
#4 /var/www/html/site/src/vendor/twig/twig/src/Template.php(394): __TwigTemplate_8602d24e007916ef0a7a21f40da38482->doDisplay(Array, Array)
#5 /var/www/html/site/src/vendor/twig/twig/src/Template.php(367): Twig\Template->displayWithErrorHandling(Array, Array)
#6 /var/www/html/site/src/vendor/twig/twig/src/Template.php(379): Twig\Template->display(Array)
#7 /var/www/html/site/src/vendor/twig/twig/src/TemplateWrapper.php(40): Twig\Template->render(Array, Array)
#8 /var/www/html/site/src/vendor/twig/twig/src/Environment.php(280): Twig\TemplateWrapper->render(Array)
#9 /var/www/html/site/src/vendor/slim/twig-view/src/Twig.php(154): Twig\Environment->render('error.twig', Array)
#10 /var/www/html/site/src/vendor/slim/twig-view/src/Twig.php(210): Slim\Views\Twig->fetch('error.twig', Array)
#11 /var/www/html/site/src/app/Handlers/HttpErrorHandler.php(82): Slim\Views\Twig->render(Object(Slim\Psr7\Response), 'error.twig', Array)
#12 /var/www/html/site/src/vendor/slim/slim/Slim/Handlers/ErrorHandler.php(135): Giotto\Handlers\HttpErrorHandler->respond()
#13 /var/www/html/site/src/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(91): Slim\Handlers\ErrorHandler->__invoke(Object(Slim\Psr7\Request), Object(TypeError), false, false, false)
#14 /var/www/html/site/src/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(78): Slim\Middleware\ErrorMiddleware->handleException(Object(Slim\Psr7\Request), Object(TypeError))
#15 /var/www/html/site/src/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\ErrorMiddleware->process(Object(Slim\Psr7\Request), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#16 /var/www/html/site/src/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Slim\Psr7\Request))
#17 /var/www/html/site/src/vendor/slim/slim/Slim/App.php(199): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request))
#18 /var/www/html/site/src/vendor/slim/slim/Slim/App.php(183): Slim\App->handle(Object(Slim\Psr7\Request))
#19 /var/www/html/site/online/index.php(67): Slim\App->run()
#20 {main}
thrown in /var/www/html/site/src/vendor/twig/twig/src/Extension/EscaperExtension.php on line 166
Fatal error: Uncaught TypeError: twig_escape_filter(): Argument #1 ($env) must be of type Twig\Environment, string given, called in /var/www/html/site/src/vendor/twig/twig/src/Environment.php(361) : eval()'d code on line 81 and defined in /var/www/html/site/src/vendor/twig/twig/src/Extension/EscaperExtension.php:166
Stack trace:
#0 /var/www/html/site/src/vendor/twig/twig/src/Environment.php(361) : eval()'d code(81): twig_escape_filter('/', '/', 'html', NULL, true)
#1 /var/www/html/site/src/vendor/twig/twig/src/Template.php(394): __TwigTemplate_1077f2da0ceee2a050ece44c3a933e74->doDisplay(Array, Array)
#2 /var/www/html/site/src/vendor/twig/twig/src/Template.php(367): Twig\Template->displayWithErrorHandling(Array, Array)
#3 /var/www/html/site/src/vendor/twig/twig/src/Environment.php(361) : eval()'d code(43): Twig\Template->display(Array, Array)
#4 /var/www/html/site/src/vendor/twig/twig/src/Template.php(394): __TwigTemplate_8602d24e007916ef0a7a21f40da38482->doDisplay(Array, Array)
#5 /var/www/html/site/src/vendor/twig/twig/src/Template.php(367): Twig\Template->displayWithErrorHandling(Array, Array)
#6 /var/www/html/site/src/vendor/twig/twig/src/Template.php(379): Twig\Template->display(Array)
#7 /var/www/html/site/src/vendor/twig/twig/src/TemplateWrapper.php(40): Twig\Template->render(Array, Array)
#8 /var/www/html/site/src/vendor/twig/twig/src/Environment.php(280): Twig\TemplateWrapper->render(Array)
#9 /var/www/html/site/src/vendor/slim/twig-view/src/Twig.php(154): Twig\Environment->render('error.twig', Array)
#10 /var/www/html/site/src/vendor/slim/twig-view/src/Twig.php(210): Slim\Views\Twig->fetch('error.twig', Array)
#11 /var/www/html/site/src/app/Handlers/HttpErrorHandler.php(82): Slim\Views\Twig->render(Object(Slim\Psr7\Response), 'error.twig', Array)
#12 /var/www/html/site/src/vendor/slim/slim/Slim/Handlers/ErrorHandler.php(135): Giotto\Handlers\HttpErrorHandler->respond()
#13 /var/www/html/site/src/app/Handlers/ShutdownHandler.php(74): Slim\Handlers\ErrorHandler->__invoke(Object(Slim\Psr7\Request), Object(Slim\Exception\HttpInternalServerErrorException), false, false, false)
#14 [internal function]: Giotto\Handlers\ShutdownHandler->__invoke()
#15 {main}
thrown in /var/www/html/site/src/vendor/twig/twig/src/Extension/EscaperExtension.php on line 166