Variable "category" does not exist.
500 Internal Server Error - Twig_Error_Runtime
Stack Trace
-
in src/PointWeb/AppBundle/Resources/views/_options-equipements.html.twig at line 11
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<div id="owl-slider-options" class="owl-carousel owl-theme">
{% for cat in category %}
<a href="{{ path('show_category',{'id': cat.id,'slug':cat.slug}) }}" title="{{ cat.title }}" class="item box-shadow">
{% if cat.products.0.pictures|length>0 %}
<img data-background="{{ cat.products.0.pictures.0.getWebPath(base) }}" alt="{{ cat.title }}" class="gestion_image" src="{{asset('images/dot.png')}}">
-
at
Twig_Template
->getContext
(array('assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'base' => 'http://www.herve-servignat.fr/', 'web_site_name' => 'HERVE SERVIGNAT', 'website_type' => 'vitrine', '_parent' => array('assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'base' => 'http://www.herve-servignat.fr/', 'web_site_name' => 'HERVE SERVIGNAT', 'website_type' => 'vitrine')), 'category')
in app/cache/prod/twig/85/850a09747413a2f3e0917b0666b048eaf235a09270df7cf552cfb2a31d781582.php at line 32 -
at
__TwigTemplate_4f62a48421e763da1eee8001eac70e4e531b4c745ae3c222d8dfa98944841505
->doDisplay
(array('assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'base' => 'http://www.herve-servignat.fr/', 'web_site_name' => 'HERVE SERVIGNAT', 'website_type' => 'vitrine', '_parent' => array('assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'base' => 'http://www.herve-servignat.fr/', 'web_site_name' => 'HERVE SERVIGNAT', 'website_type' => 'vitrine')), array())
in app/cache/prod/classes.php at line 5584 -
at
Twig_Template
->displayWithErrorHandling
(array('assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'base' => 'http://www.herve-servignat.fr/', 'web_site_name' => 'HERVE SERVIGNAT', 'website_type' => 'vitrine'), array())
in app/cache/prod/classes.php at line 5560 -
at
Twig_Template
->display
(array('assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'base' => 'http://www.herve-servignat.fr/', 'web_site_name' => 'HERVE SERVIGNAT', 'website_type' => 'vitrine'))
in app/cache/prod/twig/70/70c980dbcbd30b0499e8234bbee13a485108e21ba6880c83bd63fb606f771381.php at line 98 -
at
__TwigTemplate_9a1bbe4b2a007b484e05dd3c91dde416090617fd71673d79b92f5931eded25cc
->block_content
(array('assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'base' => 'http://www.herve-servignat.fr/', 'web_site_name' => 'HERVE SERVIGNAT', 'website_type' => 'vitrine'), array('body' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_body'), 'header' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_header'), 'slider' => array(object(__TwigTemplate_9a1bbe4b2a007b484e05dd3c91dde416090617fd71673d79b92f5931eded25cc), 'block_slider'), 'content' => array(object(__TwigTemplate_9a1bbe4b2a007b484e05dd3c91dde416090617fd71673d79b92f5931eded25cc), 'block_content'), 'footer' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_footer'), 'javascripts' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_javascripts')))
in app/cache/prod/classes.php at line 5466 -
at
Twig_Template
->displayBlock
('content', array('assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'base' => 'http://www.herve-servignat.fr/', 'web_site_name' => 'HERVE SERVIGNAT', 'website_type' => 'vitrine'), array('body' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_body'), 'header' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_header'), 'slider' => array(object(__TwigTemplate_9a1bbe4b2a007b484e05dd3c91dde416090617fd71673d79b92f5931eded25cc), 'block_slider'), 'content' => array(object(__TwigTemplate_9a1bbe4b2a007b484e05dd3c91dde416090617fd71673d79b92f5931eded25cc), 'block_content'), 'footer' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_footer'), 'javascripts' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_javascripts')))
in app/cache/prod/twig/29/295a76a48fddbbb597c3cdcb92eb25edef5f98f1eb002e7ca51afdf840d16677.php at line 237 -
at
__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004
->block_body
(array('assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'base' => 'http://www.herve-servignat.fr/', 'web_site_name' => 'HERVE SERVIGNAT', 'website_type' => 'vitrine'), array('body' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_body'), 'header' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_header'), 'slider' => array(object(__TwigTemplate_9a1bbe4b2a007b484e05dd3c91dde416090617fd71673d79b92f5931eded25cc), 'block_slider'), 'content' => array(object(__TwigTemplate_9a1bbe4b2a007b484e05dd3c91dde416090617fd71673d79b92f5931eded25cc), 'block_content'), 'footer' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_footer'), 'javascripts' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_javascripts')))
in app/cache/prod/classes.php at line 5466 -
at
Twig_Template
->displayBlock
('body', array('assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'base' => 'http://www.herve-servignat.fr/', 'web_site_name' => 'HERVE SERVIGNAT', 'website_type' => 'vitrine'), array('body' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_body'), 'header' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_header'), 'slider' => array(object(__TwigTemplate_9a1bbe4b2a007b484e05dd3c91dde416090617fd71673d79b92f5931eded25cc), 'block_slider'), 'content' => array(object(__TwigTemplate_9a1bbe4b2a007b484e05dd3c91dde416090617fd71673d79b92f5931eded25cc), 'block_content'), 'footer' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_footer'), 'javascripts' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_javascripts')))
in app/cache/prod/twig/29/295a76a48fddbbb597c3cdcb92eb25edef5f98f1eb002e7ca51afdf840d16677.php at line 115 -
at
__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004
->doDisplay
(array('assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'base' => 'http://www.herve-servignat.fr/', 'web_site_name' => 'HERVE SERVIGNAT', 'website_type' => 'vitrine'), array('body' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_body'), 'header' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_header'), 'slider' => array(object(__TwigTemplate_9a1bbe4b2a007b484e05dd3c91dde416090617fd71673d79b92f5931eded25cc), 'block_slider'), 'content' => array(object(__TwigTemplate_9a1bbe4b2a007b484e05dd3c91dde416090617fd71673d79b92f5931eded25cc), 'block_content'), 'footer' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_footer'), 'javascripts' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_javascripts')))
in app/cache/prod/classes.php at line 5584 -
at
Twig_Template
->displayWithErrorHandling
(array('assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'base' => 'http://www.herve-servignat.fr/', 'web_site_name' => 'HERVE SERVIGNAT', 'website_type' => 'vitrine'), array('body' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_body'), 'header' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_header'), 'slider' => array(object(__TwigTemplate_9a1bbe4b2a007b484e05dd3c91dde416090617fd71673d79b92f5931eded25cc), 'block_slider'), 'content' => array(object(__TwigTemplate_9a1bbe4b2a007b484e05dd3c91dde416090617fd71673d79b92f5931eded25cc), 'block_content'), 'footer' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_footer'), 'javascripts' => array(object(__TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004), 'block_javascripts')))
in app/cache/prod/classes.php at line 5560 -
at
Twig_Template
->display
(array('assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'base' => 'http://www.herve-servignat.fr/', 'web_site_name' => 'HERVE SERVIGNAT', 'website_type' => 'vitrine'), array('slider' => array(object(__TwigTemplate_9a1bbe4b2a007b484e05dd3c91dde416090617fd71673d79b92f5931eded25cc), 'block_slider'), 'content' => array(object(__TwigTemplate_9a1bbe4b2a007b484e05dd3c91dde416090617fd71673d79b92f5931eded25cc), 'block_content')))
in app/cache/prod/twig/70/70c980dbcbd30b0499e8234bbee13a485108e21ba6880c83bd63fb606f771381.php at line 25 -
at
__TwigTemplate_9a1bbe4b2a007b484e05dd3c91dde416090617fd71673d79b92f5931eded25cc
->doDisplay
(array('assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'base' => 'http://www.herve-servignat.fr/', 'web_site_name' => 'HERVE SERVIGNAT', 'website_type' => 'vitrine'), array('slider' => array(object(__TwigTemplate_9a1bbe4b2a007b484e05dd3c91dde416090617fd71673d79b92f5931eded25cc), 'block_slider'), 'content' => array(object(__TwigTemplate_9a1bbe4b2a007b484e05dd3c91dde416090617fd71673d79b92f5931eded25cc), 'block_content')))
in app/cache/prod/classes.php at line 5584 -
at
Twig_Template
->displayWithErrorHandling
(array('assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'base' => 'http://www.herve-servignat.fr/', 'web_site_name' => 'HERVE SERVIGNAT', 'website_type' => 'vitrine'), array('slider' => array(object(__TwigTemplate_9a1bbe4b2a007b484e05dd3c91dde416090617fd71673d79b92f5931eded25cc), 'block_slider'), 'content' => array(object(__TwigTemplate_9a1bbe4b2a007b484e05dd3c91dde416090617fd71673d79b92f5931eded25cc), 'block_content')))
in app/cache/prod/classes.php at line 5560 -
at
Twig_Template
->display
(array())
in app/cache/prod/classes.php at line 5567 -
at
Twig_Template
->render
(array())
in vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php at line 50 -
at
TwigEngine
->render
('PointWebAppBundle:Default:tentes.html.twig', array())
in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 67 -
at
TwigEngine
->render
('PointWebAppBundle:Default:tentes.html.twig', array())
in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php at line 50 -
at
TimedTwigEngine
->render
('PointWebAppBundle:Default:tentes.html.twig', array())
in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 92 -
at
TwigEngine
->renderResponse
('PointWebAppBundle:Default:tentes.html.twig')
in vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/TemplateController.php at line 37 - at TemplateController ->templateAction ('PointWebAppBundle:Default:tentes.html.twig', null, null, null)
-
at
call_user_func_array
(array(object(TemplateController), 'templateAction'), array('PointWebAppBundle:Default:tentes.html.twig', null, null, null))
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