Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getUser() on null in /app/src/AppBundle/EventListener/RequestListener.php:30
Stack trace:
#0 [internal function]: AppBundle\EventListener\RequestListener->onKernelRequest()
#1 /app/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php(61): call_user_func()
#2 [internal function]: Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
#3 /app/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php(61): call_user_func()
#4 [internal function]: Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
#5 /app/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php(61): call_user_func()
#6 [internal function]: Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
#7 /app/app/cache/prod/classes.php(1865): call_user_func()
#8 /app/app/cache/prod/classes.php(1791): Symfony\Component\EventDispatcher in /app/src/AppBundle/EventListener/RequestListener.php on line 30