Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 1 passed to CashbackCloud\CommonBundle\Entity\UserRepository::getDirectBrokerAccounts() must be an instance of CashbackCloud\CommonBundle\Entity\User, null given, called in /var/www/src/CashbackCloud/CommonBundle/Controller/ProfileController.php on line 531 in /var/www/src/CashbackCloud/CommonBundle/Entity/UserRepository.php:1912 Stack trace: #0 /var/www/src/CashbackCloud/CommonBundle/Controller/ProfileController.php(531): CashbackCloud\CommonBundle\Entity\UserRepository->getDirectBrokerAccounts(NULL) #1 /var/www/apps/forex/bootstrap.php.cache(3431): CashbackCloud\CommonBundle\Controller\ProfileController->withdrawalAction(Object(Symfony\Component\HttpFoundation\Request), NULL, false) #2 /var/www/apps/forex/bootstrap.php.cache(3386): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #3 /var/www/apps/forex/bootstrap.php.cache(2683): Symfony\Component\HttpKernel\HttpKernel-> in /var/www/src/CashbackCloud/CommonBundle/Entity/UserRepository.php on line 1912