Fatal error: Uncaught InvalidArgumentException: The HTTP status code "0" is not valid. in /var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Response.php:464 Stack trace: #0 /var/www/html/src/AppBundle/Listener/ExceptionListener.php(52): Symfony\Component\HttpFoundation\Response->setStatusCode(0) #1 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(212): AppBundle\Listener\ExceptionListener->onKernelException(Object(Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent), 'kernel.exceptio...', Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher)) #2 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(44): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'kernel.exceptio...', Object(Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent)) #3 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(228): Symfony\Component\EventDisp in /var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Response.php on line 464