Neither the property "category" nor one of the methods "category()", "getcategory()"/"iscategory()" or "__call()" exist and have public access in class "PointWeb\ProductBundle\Entity\Product" in PointWebProductBundle:Default:index.html.twig at line 4.
500 Internal Server Error - Twig_Error_Runtime
Stack Trace
-
in app/cache/prod/classes.php at line 5517
if ($ignoreStrictCheck || !$this->env->isStrictVariables()) {
return;
}
throw new Twig_Error_Runtime(sprintf('Neither the property "%1$s" nor one of the methods "%1$s()", "get%1$s()"/"is%1$s()" or "__call()" exist and have public access in class "%2$s".', $item, get_class($object)), -1, $this->getTemplateName());
}
if ($isDefinedTest) {
return true;
-
at
Twig_Template
->getAttribute
(object(Product), 'category', array())
in app/cache/prod/twig/47/473339eec03eb379985d4179570aa6908ec467823e18eda35a53d4fa774016e1.php at line 32 -
at
__TwigTemplate_a7f05b0ae446b357c99606388a7b9183db9a08fc59497c3fdf8a40279b5e42e3
->doDisplay
(array('product' => array(object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product)), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'base' => 'http://explorair.com/'), array())
in app/cache/prod/classes.php at line 5391 -
at
Twig_Template
->displayWithErrorHandling
(array('product' => array(object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product)), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'base' => 'http://explorair.com/'), array())
in app/cache/prod/classes.php at line 5367 -
at
Twig_Template
->display
(array('product' => array(object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product))))
in app/cache/prod/classes.php at line 5374 -
at
Twig_Template
->render
(array('product' => array(object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product))))
in vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php at line 50 -
at
TwigEngine
->render
('PointWebProductBundle:Default:index.html.twig', array('product' => array(object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product))))
in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 67 -
at
TwigEngine
->render
('PointWebProductBundle:Default:index.html.twig', array('product' => array(object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product))))
in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php at line 50 -
at
TimedTwigEngine
->render
('PointWebProductBundle:Default:index.html.twig', array('product' => array(object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product))))
in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 92 -
at
TwigEngine
->renderResponse
('PointWebProductBundle:Default:index.html.twig', array('product' => array(object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product))), null)
in vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php at line 176 -
at
Controller
->render
('PointWebProductBundle:Default:index.html.twig', array('product' => array(object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product), object(Product))))
in src/PointWeb/ProductBundle/Controller/DefaultController.php at line 12 - at DefaultController ->indexAction ()
-
at
call_user_func_array
(array(object(DefaultController), 'indexAction'), array())
in app/bootstrap.php.cache at line 3054 -
at
HttpKernel
->handleRaw
(object(Request), '1')
in app/bootstrap.php.cache at line 3016 -
at
HttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 3165 -
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 2406 -
at
Kernel
->handle
(object(Request))
in web/app.php at line 28