Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 1 passed to Wfm\FrontendBundle\Utils\Url::getCompanyUrl() must be an instance of Wfm\Commons\Wcos\Company\CompanyInterface, null given, called in /www-data/src/Wfm/FrontendBundle/Listener/Redirect.php on line 992 in /www-data/src/Wfm/FrontendBundle/Utils/Url.php:258 Stack trace: #0 /www-data/src/Wfm/FrontendBundle/Listener/Redirect.php(992): Wfm\FrontendBundle\Utils\Url->getCompanyUrl(NULL) #1 [internal function]: Wfm\FrontendBundle\Listener\Redirect->onKernelRequest(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher)) #2 /www-data/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(212): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher)) #3 /www-data/vendor/symfony/symfony/src/S in /www-data/src/Wfm/FrontendBundle/Utils/Url.php on line 258