Exception detected!

Product not found!

404 Not Found - NotFoundHttpException

Stack Trace

  1. in src/FrontendBundle/Controller/ProductController.php at line 51  -
    1.         $product $em->getRepository('AppBundle:Product')->findOneBy([$findOneBy => $slug]);
    2.         if(!$product){
    3.             throw new NotFoundHttpException('Product not found!');
    4.         }
    5.         return $this->render('FrontendBundle:Product:singleProduct.html.twig', array(
  2. at ProductController ->showAction ('jeti-handheld-backplate-cover-inside-jeti')
  3. at call_user_func_array (array(object(ProductController), 'showAction'), array('jeti-handheld-backplate-cover-inside-jeti'))
    in var/bootstrap.php.cache at line 2993  +
  4. at HttpKernel ->handleRaw (object(Request), '1')
    in var/bootstrap.php.cache at line 2955  +
  5. at HttpKernel ->handle (object(Request), '1', true)
    in var/bootstrap.php.cache at line 2306  +
  6. at Kernel ->handle (object(Request))
    in web/app.php at line 28  +

Logs  -

Stack Trace (Plain Text)  +