Fatal error: Call to a member function getProductAttributes() on null
500 Internal Server Error - FatalThrowableError
Stack Trace
-
in src/PointWeb/ProductBundle/Controller/DefaultController.php at line 209
{
/** @var Product $product */
$product = $entity;
$productAttributes = $product->getProductAttributes();
$attributes = array();
$items = array();
-
at
DefaultController
->getAttributes
(null)
in src/PointWeb/ProductBundle/Controller/DefaultController.php at line 190 - at DefaultController ->showAction ('181', object(Request))
-
at
call_user_func_array
(array(object(DefaultController), 'showAction'), array('181', object(Request)))
in app/bootstrap.php.cache at line 3053 -
at
HttpKernel
->handleRaw
(object(Request), '1')
in app/bootstrap.php.cache at line 3015 -
at
HttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 3164 -
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 2405 -
at
Kernel
->handle
(object(Request))
in web/app.php at line 28