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