Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Return value of WizaplaceFrontBundle\Controller\ProfileController::getUser() must be an instance of WizaplaceFrontBundle\Security\User, null returned in /var/www/html/vendor/wizaplace/front-bundle/src/Controller/ProfileController.php:353 Stack trace: #0 /var/www/html/src/AppBundle/Controller/ProfileController.php(857): WizaplaceFrontBundle\Controller\ProfileController->getUser() #1 /var/www/html/src/AppBundle/Controller/ProfileController.php(187): AppBundle\Controller\ProfileController->getOrganisation() #2 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(151): AppBundle\Controller\ProfileController->ordersWithPaginationAction(Object(Symfony\Component\HttpFoundation\Request)) #3 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #4 /var/www/html/vendor/symfon in /var/www/html/src/AppBundle/Resources/views/common/header/desktop/_search.html.twig on line 1