Fatal error: Uncaught TypeError: Argument 1 passed to Symfony\Component\HttpFoundation\RedirectResponse::__construct() must be of the type string, null given, called in /var/www/redesign-bbk/src/App/Content/Controller/ContentController.php on line 110 and defined in /var/www/redesign-bbk/vendor/symfony/http-foundation/RedirectResponse.php:35
Stack trace:
#0 /var/www/redesign-bbk/src/App/Content/Controller/ContentController.php(110): Symfony\Component\HttpFoundation\RedirectResponse->__construct()
#1 [internal function]: App\Content\Controller\ContentController->setLang()
#2 /var/www/redesign-bbk/src/Core/Framework.php(236): call_user_func_array()
#3 /var/www/redesign-bbk/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(86): Core\Framework->handle()
#4 /var/www/redesign-bbk/vendor/symfony/http-kernel/HttpCache/HttpCache.php(479): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle()
#5 /var/www/redesign-bbk/vendor/symfony/http-kernel/HttpCache/HttpCache.php(452): Symfony\Component\HttpKernel\HttpCach in /var/www/redesign-bbk/vendor/symfony/http-foundation/RedirectResponse.php on line 35