Exception detected!

Call to a member function getIdArticulo() on null

500 Internal Server Error - FatalThrowableError

Stack Trace

  1. in src/Web/MainBundle/Controller/TiendaController.php at line 371  -
    1.         $em=$this->getDoctrine()->getManager();
    2.         $idioma=$this->getIdioma();
    3.         $articulo_idioma=$em->getRepository('MainBundle:ArticuloIdioma')->findOneBy(array('slug' => $slug'idioma' => $idioma));
    4.         $articulo=$em->getRepository('MainBundle:Articulos')->find($articulo_idioma->getIdArticulo()->getId());
    5.         //$categoria=$em->getRepository('MainBundle:Categorias')->find($articulo->getIdCategoria());
    6.         $tallascolores=$em->getRepository('MainBundle:ArticuloTallaColor')->listaTalla($articulo->getId(), $idioma);
  2. at TiendaController ->fichaAction ('FlorDePiel-Exclusivo-Bolsos-EXCLUSIVE-TAPIZ-BAG-HAND-%26-CADENA-3-EXCLUSIVE-TAPIZ-BAG-HAND%26CADENA-3')
  3. at call_user_func_array (array(object(TiendaController), 'fichaAction'), array('FlorDePiel-Exclusivo-Bolsos-EXCLUSIVE-TAPIZ-BAG-HAND-%26-CADENA-3-EXCLUSIVE-TAPIZ-BAG-HAND%26CADENA-3'))
    in app/bootstrap.php.cache at line 3160  +
  4. at HttpKernel ->handleRaw (object(Request), '1')
    in app/bootstrap.php.cache at line 3119  +
  5. at HttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 3273  +
  6. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 2484  +
  7. at Kernel ->handle (object(Request))
    in web/app.php at line 29  +

Logs  -

Stack Trace (Plain Text)  +