Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 1 passed to AdminBundle\Entity\Productos::addMisrecomendado() must be an instance of AdminBundle\Entity\Productos, null given, called in /home/corsusa/public_html/staffcorsusa/src/WebBundle/Controller/DefaultController.php on line 227 in /home/corsusa/public_html/staffcorsusa/src/AdminBundle/Entity/Productos.php:679
Stack trace:
#0 /home/corsusa/public_html/staffcorsusa/src/WebBundle/Controller/DefaultController.php(227): AdminBundle\Entity\Productos->addMisrecomendado(NULL)
#1 [internal function]: WebBundle\Controller\DefaultController->productAction('alimentos-y-beb...', 'endress-hauser', 'flujometros-por...')
#2 /home/corsusa/public_html/staffcorsusa/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(144): call_user_func_array(Array, Array)
#3 /home/corsusa/public_html/staffcorsusa/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(64): Symfony\Component\HttpKernel\HttpKernel->handle in /home/corsusa/public_html/staffcorsusa/src/AdminBundle/Entity/Productos.php on line 679