Exception detected!

Variable "category" does not exist.

500 Internal Server Error - Twig_Error_Runtime

Stack Trace

  1. in src/PointWeb/AppBundle/Resources/views/_options-equipements.html.twig at line 11  -
    1.         <div class="row">
    2.             <div class="col-lg-12 col-md-12 col-sm-12">
    3.                 <div id="owl-slider-options" class="owl-carousel owl-theme">
    4.                     {% for cat in category %}
    5.                         <a href="{{ path('show_category',{'id': cat.id,'slug':cat.slug}) }}" title="{{ cat.title }}" class="item box-shadow">
    6.                             {% if cat.products.0.pictures|length>0 %}
    7.                                 <img data-background="{{ cat.products.0.pictures.0.getWebPath(base) }}" alt="{{ cat.title }}" class="gestion_image" src="{{asset('images/dot.png')}}">
  2. 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  +
  3. 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  +
  4. 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  +
  5. 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  +
  6. 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  +
  7. 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  +
  8. 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  +
  9. 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  +
  10. 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  +
  11. 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  +
  12. 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  +
  13. 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  +
  14. 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  +
  15. at Twig_Template ->display (array())
    in app/cache/prod/classes.php at line 5567  +
  16. at Twig_Template ->render (array())
    in vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php at line 50  +
  17. at TwigEngine ->render ('PointWebAppBundle:Default:tentes.html.twig', array())
    in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 67  +
  18. at TwigEngine ->render ('PointWebAppBundle:Default:tentes.html.twig', array())
    in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php at line 50  +
  19. at TimedTwigEngine ->render ('PointWebAppBundle:Default:tentes.html.twig', array())
    in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 92  +
  20. at TwigEngine ->renderResponse ('PointWebAppBundle:Default:tentes.html.twig')
    in vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/TemplateController.php at line 37  +
  21. at TemplateController ->templateAction ('PointWebAppBundle:Default:tentes.html.twig', null, null, null)
  22. 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  +
  23. at HttpKernel ->handleRaw (object(Request), '1')
    in app/bootstrap.php.cache at line 3016  +
  24. at HttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 3165  +
  25. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 2406  +
  26. at Kernel ->handle (object(Request))
    in web/app.php at line 28  +

Logs  -

Stack Trace (Plain Text)  +