“
Key "44" for array with keys "45, 58, 57" does not exist.
500 Internal Server Error - Twig_Error_Runtime
”
Stack Trace
-
in src/Systeo/ImmobilierBundle/Resources/views/front/type.html.twig at line 58
{% for unite in unites %}
<div class="col-sm-6 col-md-6">
<div class="ser-item item-w">
<a class="example-image-link" href="{{ asset('files/') }}{{unites_images[unite.id]}}" data-lightbox="example-set" data-title="Appartement {{unite.name}}">
<img class="example-image img-thumbnail" src="{{ asset('files/') }}{{unites_images[unite.id]}}" alt="Appartement {{unite.name}}" title="Appartement {{unite.name}}"/>
</a>
<h3>Appartement {{unite.name}}</h3>
-
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 - at FrontController ->typeAppartAction (object(TypeUnite), object(Request))
-
at
call_user_func_array
(array(object(FrontController), 'typeAppartAction'), array(object(TypeUnite), object(Request)))
in var/cache/prod/classes.php at line 4689 -
at
HttpKernel
->handleRaw
(object(Request), 1)
in var/cache/prod/classes.php at line 4644 -
at
HttpKernel
->handle
(object(Request), 1, true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 168 -
at
Kernel
->handle
(object(Request))
in web/app.php at line 16