Exception detected!

Key "0" for array with keys "" does not exist in BCassiopeeSiteBundle:Default:spectacle.html.twig at line 13

500 Internal Server Error - Twig_Error_Runtime

Stack Trace

  1. in kernel.root_dir/cache/prod/classes.php at line 4459  -
    1. if (is_object($object)) {
    2. throw new Twig_Error_Runtime(sprintf('Key "%s" in object (with ArrayAccess) of type "%s" does not exist'$arrayItemget_class($object)), -1$this->getTemplateName());
    3. } elseif (is_array($object)) {
    4. throw new Twig_Error_Runtime(sprintf('Key "%s" for array with keys "%s" does not exist'$arrayItemimplode(', 'array_keys($object))), -1$this->getTemplateName());
    5. } elseif (Twig_Template::ARRAY_CALL === $type) {
    6. throw new Twig_Error_Runtime(sprintf('Impossible to access a key ("%s") on a %s variable ("%s")'$itemgettype($object), $object), -1$this->getTemplateName());
    7. } else {
  2. at Twig_Template ->getAttribute (array(), '0')
    in kernel.root_dir/cache/prod/twig/03/54/8ba35511fddccca1f7a1aa607332524258aa9771023b53c3d7da80e8b303.php at line 47  +
  3. at __TwigTemplate_03548ba35511fddccca1f7a1aa607332524258aa9771023b53c3d7da80e8b303 ->block_body (array('spectacles' => array(), 'whichSpec' => '5', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables)), array())
    in kernel.root_dir/cache/prod/classes.php at line 4357  +
  4. at Twig_Template ->displayBlock ('body', array('spectacles' => array(), 'whichSpec' => '5', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables)), array('body' => array(object(__TwigTemplate_03548ba35511fddccca1f7a1aa607332524258aa9771023b53c3d7da80e8b303), 'block_body')))
    in kernel.root_dir/cache/prod/twig/fc/aa/cda82e5acf97740883543259f4989e68165a10f9d62762cc3e91871bb729.php at line 82  +
  5. at __TwigTemplate_fcaacda82e5acf97740883543259f4989e68165a10f9d62762cc3e91871bb729 ->doDisplay (array('spectacles' => array(), 'whichSpec' => '5', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables)), array('body' => array(object(__TwigTemplate_03548ba35511fddccca1f7a1aa607332524258aa9771023b53c3d7da80e8b303), 'block_body')))
    in kernel.root_dir/cache/prod/classes.php at line 4412  +
  6. at Twig_Template ->displayWithErrorHandling (array('spectacles' => array(), 'whichSpec' => '5', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables)), array('body' => array(object(__TwigTemplate_03548ba35511fddccca1f7a1aa607332524258aa9771023b53c3d7da80e8b303), 'block_body')))
    in kernel.root_dir/cache/prod/classes.php at line 4393  +
  7. at Twig_Template ->display (array('spectacles' => array(), 'whichSpec' => '5', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables)), array('body' => array(object(__TwigTemplate_03548ba35511fddccca1f7a1aa607332524258aa9771023b53c3d7da80e8b303), 'block_body')))
    in kernel.root_dir/cache/prod/twig/03/54/8ba35511fddccca1f7a1aa607332524258aa9771023b53c3d7da80e8b303.php at line 24  +
  8. at __TwigTemplate_03548ba35511fddccca1f7a1aa607332524258aa9771023b53c3d7da80e8b303 ->doDisplay (array('spectacles' => array(), 'whichSpec' => '5', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables)), array())
    in kernel.root_dir/cache/prod/classes.php at line 4412  +
  9. at Twig_Template ->displayWithErrorHandling (array('spectacles' => array(), 'whichSpec' => '5', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables)), array())
    in kernel.root_dir/cache/prod/classes.php at line 4393  +
  10. at Twig_Template ->display (array('spectacles' => array(), 'whichSpec' => '5'))
    in kernel.root_dir/cache/prod/classes.php at line 4400  +
  11. at Twig_Template ->render (array('spectacles' => array(), 'whichSpec' => '5'))
    in /home/fabrikcalp/www/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php at line 53  +
  12. at TwigEngine ->render ('BCassiopeeSiteBundle:Default:spectacle.html.twig', array('spectacles' => array(), 'whichSpec' => '5'))
    in /home/fabrikcalp/www/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 79  +
  13. at TwigEngine ->render ('BCassiopeeSiteBundle:Default:spectacle.html.twig', array('spectacles' => array(), 'whichSpec' => '5'))
    in /home/fabrikcalp/www/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php at line 52  +
  14. at TimedTwigEngine ->render ('BCassiopeeSiteBundle:Default:spectacle.html.twig', array('spectacles' => array(), 'whichSpec' => '5'))
    in /home/fabrikcalp/www/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 108  +
  15. at TwigEngine ->renderResponse ('BCassiopeeSiteBundle:Default:spectacle.html.twig', array('spectacles' => array(), 'whichSpec' => '5'), null)
    in /home/fabrikcalp/www/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php at line 106  +
  16. at Controller ->render ('BCassiopeeSiteBundle:Default:spectacle.html.twig', array('spectacles' => array(), 'whichSpec' => '5'))
    in /home/fabrikcalp/www/src/BCassiopee/SiteBundle/Controller/DefaultController.php at line 129  +
  17. at DefaultController ->spectacleAction ('1', '5')
  18. at call_user_func_array (array(object(DefaultController), 'spectacleAction'), array('1', '5'))
    in kernel.root_dir/bootstrap.php.cache at line 2843  +
  19. at HttpKernel ->handleRaw (object(Request), '1')
    in kernel.root_dir/bootstrap.php.cache at line 2817  +
  20. at HttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/bootstrap.php.cache at line 2946  +
  21. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/bootstrap.php.cache at line 2248  +
  22. at Kernel ->handle (object(Request))
    in /home/fabrikcalp/www/web/app.php at line 23  +

Logs  -

Stack Trace (Plain Text)  +