Key "44" for array with keys "45, 58, 57" does not exist.

500 Internal Server Error - Twig_Error_Runtime

Stack Trace

  1. in src/Systeo/ImmobilierBundle/Resources/views/front/type.html.twig at line 58  -
    1.                                 {% for unite in unites %}
    2.                                     <div class="col-sm-6 col-md-6">
    3.                                         <div class="ser-item item-w">    
    4.                                             <a class="example-image-link" href="{{ asset('files/') }}{{unites_images[unite.id]}}" data-lightbox="example-set" data-title="Appartement {{unite.name}}">
    5.                                                 <img class="example-image img-thumbnail" src="{{ asset('files/') }}{{unites_images[unite.id]}}" alt="Appartement {{unite.name}}" title="Appartement {{unite.name}}"/>
    6.                                             </a>
    7.                                             <h3>Appartement {{unite.name}}</h3>
  2. at twig_get_attribute (object(Twig_Environment), object(Twig_Source), array('Unite/45/ea0c79aef9eef7a3c8e505305cc5ad1f.jpeg', 'Unite/58/5597aba81ab9a95edaec614772174429.jpeg', 'Unite/57/8583abd44b35805bf02bd67f86281694.jpeg'), 44, array(), 'array')
    in var/cache/prod/twig/f6/f660cbff573558eee1c5797dc62a5ebaeeb8472a50ee54d597c9c25976d17eb8.php at line 186  +
  3. at __TwigTemplate_9e7e70c8b8f0d2ffe1c37ea0a054c35a584fb32c3de4937a2e69116def3b6308 ->block_body (array('projects' => object(SlidingPagination), 'type_unite' => object(TypeUnite), 'type_unites' => array(object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite)), 'unites' => array(object(Unite), object(Unite), object(Unite), object(Unite)), 'unites_images' => array('Unite/45/ea0c79aef9eef7a3c8e505305cc5ad1f.jpeg', 'Unite/58/5597aba81ab9a95edaec614772174429.jpeg', 'Unite/57/8583abd44b35805bf02bd67f86281694.jpeg'), 'type_unite_images' => array(object(File)), 'project_encours' => object(Project), 'etages' => array('RDC' => 'RDC', '1<sup>er</sup> étage', '2<sup>ème</sup> étage', '3<sup>ème</sup> étage', '4<sup>ème</sup> étage', '5<sup>ème</sup> étage', '6<sup>ème</sup> étage'), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'app' => object(AppVariable), '_parent' => array('projects' => object(SlidingPagination), 'type_unite' => object(TypeUnite), 'type_unites' => array(object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite)), 'unites' => array(object(Unite), object(Unite), object(Unite), object(Unite)), 'unites_images' => array('Unite/45/ea0c79aef9eef7a3c8e505305cc5ad1f.jpeg', 'Unite/58/5597aba81ab9a95edaec614772174429.jpeg', 'Unite/57/8583abd44b35805bf02bd67f86281694.jpeg'), 'type_unite_images' => array(object(File)), 'project_encours' => object(Project), 'etages' => array('RDC' => 'RDC', '1<sup>er</sup> étage', '2<sup>ème</sup> étage', '3<sup>ème</sup> étage', '4<sup>ème</sup> étage', '5<sup>ème</sup> étage', '6<sup>ème</sup> étage'), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'app' => object(AppVariable)), '_seq' => array(object(Unite), object(Unite), object(Unite), object(Unite)), 'unite' => object(Unite), '_key' => 0), array('body' => array(object(__TwigTemplate_9e7e70c8b8f0d2ffe1c37ea0a054c35a584fb32c3de4937a2e69116def3b6308), 'block_body')))
    in var/cache/prod/classes.php at line 7075  +
  4. at Twig_Template ->displayBlock ('body', array('projects' => object(SlidingPagination), 'type_unite' => object(TypeUnite), 'type_unites' => array(object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite)), 'unites' => array(object(Unite), object(Unite), object(Unite), object(Unite)), 'unites_images' => array('Unite/45/ea0c79aef9eef7a3c8e505305cc5ad1f.jpeg', 'Unite/58/5597aba81ab9a95edaec614772174429.jpeg', 'Unite/57/8583abd44b35805bf02bd67f86281694.jpeg'), 'type_unite_images' => array(object(File)), 'project_encours' => object(Project), 'etages' => array('RDC' => 'RDC', '1<sup>er</sup> étage', '2<sup>ème</sup> étage', '3<sup>ème</sup> étage', '4<sup>ème</sup> étage', '5<sup>ème</sup> étage', '6<sup>ème</sup> étage'), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'app' => object(AppVariable)), array('body' => array(object(__TwigTemplate_9e7e70c8b8f0d2ffe1c37ea0a054c35a584fb32c3de4937a2e69116def3b6308), 'block_body')))
    in var/cache/prod/twig/ac/ac993be10381df05d52990673eb2330e4474baff15ac1a02ea39fd87c51592ee.php at line 99  +
  5. at __TwigTemplate_278e5206143a4d1c938093a58d7d149a2ae1528cd5a581fa1a9baa5ff36ed756 ->doDisplay (array('projects' => object(SlidingPagination), 'type_unite' => object(TypeUnite), 'type_unites' => array(object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite)), 'unites' => array(object(Unite), object(Unite), object(Unite), object(Unite)), 'unites_images' => array('Unite/45/ea0c79aef9eef7a3c8e505305cc5ad1f.jpeg', 'Unite/58/5597aba81ab9a95edaec614772174429.jpeg', 'Unite/57/8583abd44b35805bf02bd67f86281694.jpeg'), 'type_unite_images' => array(object(File)), 'project_encours' => object(Project), 'etages' => array('RDC' => 'RDC', '1<sup>er</sup> étage', '2<sup>ème</sup> étage', '3<sup>ème</sup> étage', '4<sup>ème</sup> étage', '5<sup>ème</sup> étage', '6<sup>ème</sup> étage'), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'app' => object(AppVariable)), array('body' => array(object(__TwigTemplate_9e7e70c8b8f0d2ffe1c37ea0a054c35a584fb32c3de4937a2e69116def3b6308), 'block_body')))
    in var/cache/prod/classes.php at line 7182  +
  6. at Twig_Template ->displayWithErrorHandling (array('projects' => object(SlidingPagination), 'type_unite' => object(TypeUnite), 'type_unites' => array(object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite)), 'unites' => array(object(Unite), object(Unite), object(Unite), object(Unite)), 'unites_images' => array('Unite/45/ea0c79aef9eef7a3c8e505305cc5ad1f.jpeg', 'Unite/58/5597aba81ab9a95edaec614772174429.jpeg', 'Unite/57/8583abd44b35805bf02bd67f86281694.jpeg'), 'type_unite_images' => array(object(File)), 'project_encours' => object(Project), 'etages' => array('RDC' => 'RDC', '1<sup>er</sup> étage', '2<sup>ème</sup> étage', '3<sup>ème</sup> étage', '4<sup>ème</sup> étage', '5<sup>ème</sup> étage', '6<sup>ème</sup> étage'), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'app' => object(AppVariable)), array('body' => array(object(__TwigTemplate_9e7e70c8b8f0d2ffe1c37ea0a054c35a584fb32c3de4937a2e69116def3b6308), 'block_body')))
    in var/cache/prod/classes.php at line 7163  +
  7. at Twig_Template ->display (array('projects' => object(SlidingPagination), 'type_unite' => object(TypeUnite), 'type_unites' => array(object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite)), 'unites' => array(object(Unite), object(Unite), object(Unite), object(Unite)), 'unites_images' => array('Unite/45/ea0c79aef9eef7a3c8e505305cc5ad1f.jpeg', 'Unite/58/5597aba81ab9a95edaec614772174429.jpeg', 'Unite/57/8583abd44b35805bf02bd67f86281694.jpeg'), 'type_unite_images' => array(object(File)), 'project_encours' => object(Project), 'etages' => array('RDC' => 'RDC', '1<sup>er</sup> étage', '2<sup>ème</sup> étage', '3<sup>ème</sup> étage', '4<sup>ème</sup> étage', '5<sup>ème</sup> étage', '6<sup>ème</sup> étage'), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'app' => object(AppVariable)), array('body' => array(object(__TwigTemplate_9e7e70c8b8f0d2ffe1c37ea0a054c35a584fb32c3de4937a2e69116def3b6308), 'block_body')))
    in var/cache/prod/twig/f6/f660cbff573558eee1c5797dc62a5ebaeeb8472a50ee54d597c9c25976d17eb8.php at line 31  +
  8. at __TwigTemplate_9e7e70c8b8f0d2ffe1c37ea0a054c35a584fb32c3de4937a2e69116def3b6308 ->doDisplay (array('projects' => object(SlidingPagination), 'type_unite' => object(TypeUnite), 'type_unites' => array(object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite)), 'unites' => array(object(Unite), object(Unite), object(Unite), object(Unite)), 'unites_images' => array('Unite/45/ea0c79aef9eef7a3c8e505305cc5ad1f.jpeg', 'Unite/58/5597aba81ab9a95edaec614772174429.jpeg', 'Unite/57/8583abd44b35805bf02bd67f86281694.jpeg'), 'type_unite_images' => array(object(File)), 'project_encours' => object(Project), 'etages' => array('RDC' => 'RDC', '1<sup>er</sup> étage', '2<sup>ème</sup> étage', '3<sup>ème</sup> étage', '4<sup>ème</sup> étage', '5<sup>ème</sup> étage', '6<sup>ème</sup> étage'), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'app' => object(AppVariable)), array('body' => array(object(__TwigTemplate_9e7e70c8b8f0d2ffe1c37ea0a054c35a584fb32c3de4937a2e69116def3b6308), 'block_body')))
    in var/cache/prod/classes.php at line 7182  +
  9. at Twig_Template ->displayWithErrorHandling (array('projects' => object(SlidingPagination), 'type_unite' => object(TypeUnite), 'type_unites' => array(object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite)), 'unites' => array(object(Unite), object(Unite), object(Unite), object(Unite)), 'unites_images' => array('Unite/45/ea0c79aef9eef7a3c8e505305cc5ad1f.jpeg', 'Unite/58/5597aba81ab9a95edaec614772174429.jpeg', 'Unite/57/8583abd44b35805bf02bd67f86281694.jpeg'), 'type_unite_images' => array(object(File)), 'project_encours' => object(Project), 'etages' => array('RDC' => 'RDC', '1<sup>er</sup> étage', '2<sup>ème</sup> étage', '3<sup>ème</sup> étage', '4<sup>ème</sup> étage', '5<sup>ème</sup> étage', '6<sup>ème</sup> étage'), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'app' => object(AppVariable)), array('body' => array(object(__TwigTemplate_9e7e70c8b8f0d2ffe1c37ea0a054c35a584fb32c3de4937a2e69116def3b6308), 'block_body')))
    in var/cache/prod/classes.php at line 7163  +
  10. at Twig_Template ->display (array('projects' => object(SlidingPagination), 'type_unite' => object(TypeUnite), 'type_unites' => array(object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite)), 'unites' => array(object(Unite), object(Unite), object(Unite), object(Unite)), 'unites_images' => array('Unite/45/ea0c79aef9eef7a3c8e505305cc5ad1f.jpeg', 'Unite/58/5597aba81ab9a95edaec614772174429.jpeg', 'Unite/57/8583abd44b35805bf02bd67f86281694.jpeg'), 'type_unite_images' => array(object(File)), 'project_encours' => object(Project), 'etages' => array('RDC' => 'RDC', '1<sup>er</sup> étage', '2<sup>ème</sup> étage', '3<sup>ème</sup> étage', '4<sup>ème</sup> étage', '5<sup>ème</sup> étage', '6<sup>ème</sup> étage')))
    in var/cache/prod/classes.php at line 7170  +
  11. at Twig_Template ->render (array('projects' => object(SlidingPagination), 'type_unite' => object(TypeUnite), 'type_unites' => array(object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite)), 'unites' => array(object(Unite), object(Unite), object(Unite), object(Unite)), 'unites_images' => array('Unite/45/ea0c79aef9eef7a3c8e505305cc5ad1f.jpeg', 'Unite/58/5597aba81ab9a95edaec614772174429.jpeg', 'Unite/57/8583abd44b35805bf02bd67f86281694.jpeg'), 'type_unite_images' => array(object(File)), 'project_encours' => object(Project), 'etages' => array('RDC' => 'RDC', '1<sup>er</sup> étage', '2<sup>ème</sup> étage', '3<sup>ème</sup> étage', '4<sup>ème</sup> étage', '5<sup>ème</sup> étage', '6<sup>ème</sup> étage')))
    in vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php at line 49  +
  12. at TwigEngine ->render ('SysteoImmobilierBundle:front:type.html.twig', array('projects' => object(SlidingPagination), 'type_unite' => object(TypeUnite), 'type_unites' => array(object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite)), 'unites' => array(object(Unite), object(Unite), object(Unite), object(Unite)), 'unites_images' => array('Unite/45/ea0c79aef9eef7a3c8e505305cc5ad1f.jpeg', 'Unite/58/5597aba81ab9a95edaec614772174429.jpeg', 'Unite/57/8583abd44b35805bf02bd67f86281694.jpeg'), 'type_unite_images' => array(object(File)), 'project_encours' => object(Project), 'etages' => array('RDC' => 'RDC', '1<sup>er</sup> étage', '2<sup>ème</sup> étage', '3<sup>ème</sup> étage', '4<sup>ème</sup> étage', '5<sup>ème</sup> étage', '6<sup>ème</sup> étage')))
    in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 45  +
  13. at TwigEngine ->render ('SysteoImmobilierBundle:front:type.html.twig', array('projects' => object(SlidingPagination), 'type_unite' => object(TypeUnite), 'type_unites' => array(object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite)), 'unites' => array(object(Unite), object(Unite), object(Unite), object(Unite)), 'unites_images' => array('Unite/45/ea0c79aef9eef7a3c8e505305cc5ad1f.jpeg', 'Unite/58/5597aba81ab9a95edaec614772174429.jpeg', 'Unite/57/8583abd44b35805bf02bd67f86281694.jpeg'), 'type_unite_images' => array(object(File)), 'project_encours' => object(Project), 'etages' => array('RDC' => 'RDC', '1<sup>er</sup> étage', '2<sup>ème</sup> étage', '3<sup>ème</sup> étage', '4<sup>ème</sup> étage', '5<sup>ème</sup> étage', '6<sup>ème</sup> étage')))
    in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 72  +
  14. at TwigEngine ->renderResponse ('SysteoImmobilierBundle:front:type.html.twig', array('projects' => object(SlidingPagination), 'type_unite' => object(TypeUnite), 'type_unites' => array(object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite)), 'unites' => array(object(Unite), object(Unite), object(Unite), object(Unite)), 'unites_images' => array('Unite/45/ea0c79aef9eef7a3c8e505305cc5ad1f.jpeg', 'Unite/58/5597aba81ab9a95edaec614772174429.jpeg', 'Unite/57/8583abd44b35805bf02bd67f86281694.jpeg'), 'type_unite_images' => array(object(File)), 'project_encours' => object(Project), 'etages' => array('RDC' => 'RDC', '1<sup>er</sup> étage', '2<sup>ème</sup> étage', '3<sup>ème</sup> étage', '4<sup>ème</sup> étage', '5<sup>ème</sup> étage', '6<sup>ème</sup> étage')), object(Response))
    in vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php at line 235  +
  15. at Controller ->render ('SysteoImmobilierBundle:front:type.html.twig', array('projects' => object(SlidingPagination), 'type_unite' => object(TypeUnite), 'type_unites' => array(object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite), object(TypeUnite)), 'unites' => array(object(Unite), object(Unite), object(Unite), object(Unite)), 'unites_images' => array('Unite/45/ea0c79aef9eef7a3c8e505305cc5ad1f.jpeg', 'Unite/58/5597aba81ab9a95edaec614772174429.jpeg', 'Unite/57/8583abd44b35805bf02bd67f86281694.jpeg'), 'type_unite_images' => array(object(File)), 'project_encours' => object(Project), 'etages' => array('RDC' => 'RDC', '1<sup>er</sup> étage', '2<sup>ème</sup> étage', '3<sup>ème</sup> étage', '4<sup>ème</sup> étage', '5<sup>ème</sup> étage', '6<sup>ème</sup> étage')))
    in src/Systeo/ImmobilierBundle/Controller/FrontController.php at line 151  +
  16. at FrontController ->typeAppartAction (object(TypeUnite), object(Request))
  17. at call_user_func_array (array(object(FrontController), 'typeAppartAction'), array(object(TypeUnite), object(Request)))
    in var/cache/prod/classes.php at line 4689  +
  18. at HttpKernel ->handleRaw (object(Request), 1)
    in var/cache/prod/classes.php at line 4644  +
  19. at HttpKernel ->handle (object(Request), 1, true)
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 168  +
  20. at Kernel ->handle (object(Request))
    in web/app.php at line 16  +

Logs  -

Stack Trace (Plain Text)  +