Call to a member function getIdArticulo() on null
500 Internal Server Error - FatalThrowableError
Stack Trace
-
in src/Web/MainBundle/Controller/TiendaController.php at line 371
$em=$this->getDoctrine()->getManager();
$idioma=$this->getIdioma();
$articulo_idioma=$em->getRepository('MainBundle:ArticuloIdioma')->findOneBy(array('slug' => $slug, 'idioma' => $idioma));
$articulo=$em->getRepository('MainBundle:Articulos')->find($articulo_idioma->getIdArticulo()->getId());
//$categoria=$em->getRepository('MainBundle:Categorias')->find($articulo->getIdCategoria());
$tallascolores=$em->getRepository('MainBundle:ArticuloTallaColor')->listaTalla($articulo->getId(), $idioma);
- at TiendaController ->fichaAction ('FlorDePiel-Exclusivo-Bolsos-EXCLUSIVE-HAND-%26-BANDOLERA-PALMA-COLOR-2-EXCLUSIVE-HAND%26BANDOLERA-PALMA-COLOR-2')
-
at
call_user_func_array
(array(object(TiendaController), 'fichaAction'), array('FlorDePiel-Exclusivo-Bolsos-EXCLUSIVE-HAND-%26-BANDOLERA-PALMA-COLOR-2-EXCLUSIVE-HAND%26BANDOLERA-PALMA-COLOR-2'))
in app/bootstrap.php.cache at line 3160 -
at
HttpKernel
->handleRaw
(object(Request), '1')
in app/bootstrap.php.cache at line 3119 -
at
HttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 3273 -
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 2484 -
at
Kernel
->handle
(object(Request))
in web/app.php at line 29