# Update 5.7 OutOfBoundsException: The index "3" is not in the range \[0, 2\]

**URL:** <https://forum.shopware.com/t/update-5-7-outofboundsexception-the-index-3-is-not-in-the-range-0-2/91126>\
**Category:** Shopware 5\
**Created:** [27. Oktober 2021 um 10:41 UTC](https://forum.shopware.com/t/update-5-7-outofboundsexception-the-index-3-is-not-in-the-range-0-2/91126 "2021-10-27T10:41:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gettheMaX](https://avatars.discourse-cdn.com/v4/letter/g/ba9def/32.png) [@gettheMaX](https://forum.shopware.com/u/gettheMaX)\
**Post date:** [27. Oktober 2021 um 10:41 UTC](https://forum.shopware.com/t/update-5-7-outofboundsexception-the-index-3-is-not-in-the-range-0-2/91126/1 "2021-10-27T10:41:02Z")

</div>

Ich versuche gerade das Update auf 5.7 bzw. 5.7.6 zu machen, ich bekomme aber immer den gleichen Fehler. Kann mir da jemand weiterhelfen?

```auto
Stack trace:
#0 web/engine/Shopware/Bundle/FormBundle/DependencyInjection/CompilerPass/FormPass.php(91): Symfony\Component\DependencyInjection\Definition->replaceArgument(3, Array)
#1 web/vendor/symfony/dependency-injection/Compiler/Compiler.php(140): Shopware\Bundle\FormBundle\DependencyInjection\CompilerPass\FormPass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#2 web/vendor/symfony/dependency-injection/ContainerBuilder.php(789): Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#3 web/engine/Shopware/Kernel.php(552):" while reading response header from upstream, client: 

2021/10/27 12:32:35 [error] 20158#20158: *1074627 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\OutOfBoundsException: The index "3" is not in the range [0, 2]. in web/vendor/symfony/dependency-injection/Definition.php:263

```

---

<div class="post-metadata">

**Author:** ![Michael\_Telgmann](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/michael_telgmann/32/20289_2.png) [@Michael\_Telgmann](https://forum.shopware.com/u/Michael_Telgmann)\
**Post date:** [27. Oktober 2021 um 11:41 UTC](https://forum.shopware.com/t/update-5-7-outofboundsexception-the-index-3-is-not-in-the-range-0-2/91126/2 "2021-10-27T11:41:46Z")

</div>

Hallo @gettheMaX

diese Datei existiert nicht mehr in Shopware 5.7.  
Versuche mal den Cache zu leeren.

Viele Grüße aus Schöppingen  
Michael Telgmann

---

<div class="post-metadata">

**Author:** ![gettheMaX](https://avatars.discourse-cdn.com/v4/letter/g/ba9def/32.png) [@gettheMaX](https://forum.shopware.com/u/gettheMaX)\
**Post date:** [27. Oktober 2021 um 12:21 UTC](https://forum.shopware.com/t/update-5-7-outofboundsexception-the-index-3-is-not-in-the-range-0-2/91126/3 "2021-10-27T12:21:20Z")

</div>

Ich hatte den cache zwar schon diverse mal geleert, jetzt scheint es funktioniert zu haben.  
Danke für die Hilfe

---

<div class="post-metadata">

**Author:** ![gettheMaX](https://avatars.discourse-cdn.com/v4/letter/g/ba9def/32.png) [@gettheMaX](https://forum.shopware.com/u/gettheMaX)\
**Post date:** [27. Oktober 2021 um 12:56 UTC](https://forum.shopware.com/t/update-5-7-outofboundsexception-the-index-3-is-not-in-the-range-0-2/91126/4 "2021-10-27T12:56:07Z")

</div>

Jetzt habe ich ein neues Problem:

**Fatal error** : Uncaught Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service „Shop“. Did you mean one of these: „Shopware\Bundle\AccountBundle\Service\AddressServiceInterface“, „Shopware\Bundle\AccountBundle\Service\OptInLoginService“, „Shopware\Bundle\AccountBundle\Service\Validator\AddressValidatorInterface“, „Shopware\Bundle\BenchmarkBundle\BenchmarkEncryption“, „Shopware\Bundle\BenchmarkBundle\BusinessIntelligenceClient“, „Shopware\Bundle\BenchmarkBundle\Hydrator\BusinessIntelligenceResponseHydrator“, „Shopware\Bundle\BenchmarkBundle\Provider\AnalyticsProvider“, „Shopware\Bundle\BenchmarkBundle\Provider\CategoriesProvider“, „Shopware\Bundle\BenchmarkBundle\Provider\CustomersProvider“, „Shopware\Bundle\BenchmarkBundle\Provider\EmotionsProvider“, „Shopware\Bundle\BenchmarkBundle\Provider\ManufacturerProvider“, „Shopware\Bundle\BenchmarkBundle\Provider\OrdersProvider“, „Shopware\Bundle\BenchmarkBundle\Provider\PaymentsProvider“, "Shopware\Bundle\BenchmarkBundle in **/dev/vendor/symfony/dependency-injection/Container.php** on line **289**

---

<div class="post-metadata">

**Author:** ![gettheMaX](https://avatars.discourse-cdn.com/v4/letter/g/ba9def/32.png) [@gettheMaX](https://forum.shopware.com/u/gettheMaX)\
**Post date:** [27. Oktober 2021 um 13:44 UTC](https://forum.shopware.com/t/update-5-7-outofboundsexception-the-index-3-is-not-in-the-range-0-2/91126/5 "2021-10-27T13:44:46Z")

</div>

Problem gefunden, bei mir war es das Plugin „JKB Custom Listing Banner“
