Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getId() on null in /usr/home/securmobil.com/web/src/Controller/Web/DefaultController.php:197 Stack trace: #0 /usr/home/securmobil.com/web/vendor/symfony/http-kernel/HttpKernel.php(151): App\Controller\Web\DefaultController->product(Object(Symfony\Component\HttpFoundation\Request), Object(Doctrine\ORM\EntityManager), Object(Symfony\Bundle\FrameworkBundle\Translation\Translator), Object(Swift_Mailer), 'benidorm', 'scooters', '11', 'scooter-electri...') #1 /usr/home/securmobil.com/web/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #2 /usr/home/securmobil.com/web/vendor/symfony/http-kernel/Kernel.php(198): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #3 /usr/home/securmobil.com/web/index.php(25): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Compone in /usr/home/securmobil.com/web/vendor/symfony/templating/DelegatingEngine.php on line 101