Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Cannot redirect to an empty URL.' in /home/priceel/ftp/kwiatywsieci/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/RedirectResponse.php:37 Stack trace: #0 /home/priceel/ftp/kwiatywsieci/src/PR/LocaleBundle/Controller/ComponentController.php(79): Symfony\Component\HttpFoundation\RedirectResponse->__construct(NULL) #1 [internal function]: PR\LocaleBundle\Controller\ComponentController->setSessionLocaleAction('en') #2 /home/priceel/ftp/kwiatywsieci/app/bootstrap.php.cache(3022): call_user_func_array(Array, Array) #3 /home/priceel/ftp/kwiatywsieci/app/bootstrap.php.cache(2984): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #4 /home/priceel/ftp/kwiatywsieci/app/bootstrap.php.cache(3133): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #5 /home/priceel/ftp/kwiatywsieci/app/bootstrap.php.cache(2377): Symfony\Component\HttpKernel\ in /home/priceel/ftp/kwiatywsieci/app/cache/prod/classes.php on line 5426