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 482 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(482): AdminBundle\Entity\Productos->addMisrecomendado(NULL)
#1 [internal function]: WebBundle\Controller\DefaultController->productoSubcategoria(Object(AdminBundle\Entity\ProductoCategoria), 'proteus')
#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->hand in /home/corsusa/public_html/staffcorsusa/src/AdminBundle/Entity/Productos.php on line 679