Exception detected!

Key "0" does not exist as the array is empty.

500 Internal Server Error - Twig_Error_Runtime

Stack Trace

  1. in src/PointWeb/ProductBundle/Resources/views/Default/categoryShow.html.twig at line 13  -
    1.                     <ol class="breadcrumb">
    2.                         <li><a href="{{ path('point_web_app_homepage') }}">Accueil</a></li>
    3.                         <li><i class="fas fa-angle-right"></i> </li>
    4.                         <li class="active">{{ detail.0.title }}</li>
    5.                     </ol>
    6.                     <h2 title="{{ detail.0.title }}" class="title-section border-left-dark-yellow dark-green">{{ detail.0.title }}</h2>
    7.                 </div>
  2. at Twig_Template ->getAttribute (array(), '0', array())
    in app/cache/prod/twig/42/425255279309d2040d93236239f9683994e8aea0433624001638ab4bf94cbef8.php at line 52  +
  3. at __TwigTemplate_86ff3f2607c8907e8fa4e42063ee634f2f46548ec6fee60881eb3f67e25f455a ->block_content (array('detail' => 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_86ff3f2607c8907e8fa4e42063ee634f2f46548ec6fee60881eb3f67e25f455a), 'block_slider'), 'content' => array(object(__TwigTemplate_86ff3f2607c8907e8fa4e42063ee634f2f46548ec6fee60881eb3f67e25f455a), '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  +
  4. at Twig_Template ->displayBlock ('content', array('detail' => 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_86ff3f2607c8907e8fa4e42063ee634f2f46548ec6fee60881eb3f67e25f455a), 'block_slider'), 'content' => array(object(__TwigTemplate_86ff3f2607c8907e8fa4e42063ee634f2f46548ec6fee60881eb3f67e25f455a), '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  +
  5. at __TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004 ->block_body (array('detail' => 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_86ff3f2607c8907e8fa4e42063ee634f2f46548ec6fee60881eb3f67e25f455a), 'block_slider'), 'content' => array(object(__TwigTemplate_86ff3f2607c8907e8fa4e42063ee634f2f46548ec6fee60881eb3f67e25f455a), '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  +
  6. at Twig_Template ->displayBlock ('body', array('detail' => 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_86ff3f2607c8907e8fa4e42063ee634f2f46548ec6fee60881eb3f67e25f455a), 'block_slider'), 'content' => array(object(__TwigTemplate_86ff3f2607c8907e8fa4e42063ee634f2f46548ec6fee60881eb3f67e25f455a), '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  +
  7. at __TwigTemplate_340fbfd048af409282394fe6ed15e43ffc30255c4051e9552deb48fdb3d68004 ->doDisplay (array('detail' => 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_86ff3f2607c8907e8fa4e42063ee634f2f46548ec6fee60881eb3f67e25f455a), 'block_slider'), 'content' => array(object(__TwigTemplate_86ff3f2607c8907e8fa4e42063ee634f2f46548ec6fee60881eb3f67e25f455a), '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  +
  8. at Twig_Template ->displayWithErrorHandling (array('detail' => 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_86ff3f2607c8907e8fa4e42063ee634f2f46548ec6fee60881eb3f67e25f455a), 'block_slider'), 'content' => array(object(__TwigTemplate_86ff3f2607c8907e8fa4e42063ee634f2f46548ec6fee60881eb3f67e25f455a), '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  +
  9. at Twig_Template ->display (array('detail' => 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_86ff3f2607c8907e8fa4e42063ee634f2f46548ec6fee60881eb3f67e25f455a), 'block_slider'), 'content' => array(object(__TwigTemplate_86ff3f2607c8907e8fa4e42063ee634f2f46548ec6fee60881eb3f67e25f455a), 'block_content')))
    in app/cache/prod/twig/42/425255279309d2040d93236239f9683994e8aea0433624001638ab4bf94cbef8.php at line 25  +
  10. at __TwigTemplate_86ff3f2607c8907e8fa4e42063ee634f2f46548ec6fee60881eb3f67e25f455a ->doDisplay (array('detail' => 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_86ff3f2607c8907e8fa4e42063ee634f2f46548ec6fee60881eb3f67e25f455a), 'block_slider'), 'content' => array(object(__TwigTemplate_86ff3f2607c8907e8fa4e42063ee634f2f46548ec6fee60881eb3f67e25f455a), 'block_content')))
    in app/cache/prod/classes.php at line 5584  +
  11. at Twig_Template ->displayWithErrorHandling (array('detail' => 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_86ff3f2607c8907e8fa4e42063ee634f2f46548ec6fee60881eb3f67e25f455a), 'block_slider'), 'content' => array(object(__TwigTemplate_86ff3f2607c8907e8fa4e42063ee634f2f46548ec6fee60881eb3f67e25f455a), 'block_content')))
    in app/cache/prod/classes.php at line 5560  +
  12. at Twig_Template ->display (array('detail' => array()))
    in app/cache/prod/classes.php at line 5567  +
  13. at Twig_Template ->render (array('detail' => array()))
    in vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php at line 50  +
  14. at TwigEngine ->render ('PointWebProductBundle:Default:categoryShow.html.twig', array('detail' => array()))
    in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 67  +
  15. at TwigEngine ->render ('PointWebProductBundle:Default:categoryShow.html.twig', array('detail' => array()))
    in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php at line 50  +
  16. at TimedTwigEngine ->render ('PointWebProductBundle:Default:categoryShow.html.twig', array('detail' => array()))
    in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 92  +
  17. at TwigEngine ->renderResponse ('PointWebProductBundle:Default:categoryShow.html.twig', array('detail' => array()), object(Response))
    in vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php at line 176  +
  18. at Controller ->render ('PointWebProductBundle:Default:categoryShow.html.twig', array('detail' => array()))
    in src/PointWeb/ProductBundle/Controller/DefaultController.php at line 56  +
  19. at DefaultController ->categoryShowAction ('4')
  20. at call_user_func_array (array(object(DefaultController), 'categoryShowAction'), array('4'))
    in app/bootstrap.php.cache at line 3054  +
  21. at HttpKernel ->handleRaw (object(Request), '1')
    in app/bootstrap.php.cache at line 3016  +
  22. at HttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 3165  +
  23. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 2406  +
  24. at Kernel ->handle (object(Request))
    in web/app.php at line 28  +

Logs  -

Stack Trace (Plain Text)  +