# Shopware 5.5.5 Update Fehler

**URL:** https://forum.shopware.com/t/shopware-5-5-5-update-fehler/57589
**Category:** Allgemein
**Created:** [21. Januar 2019 um 10:18 UTC](https://forum.shopware.com/t/shopware-5-5-5-update-fehler/57589 "2019-01-21T10:18:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![livaro2014](https://avatars.discourse-cdn.com/v4/letter/l/439d5e/32.png) [@livaro2014](https://forum.shopware.com/u/livaro2014)
#### Post date: [21. Januar 2019 um 10:18 UTC](https://forum.shopware.com/t/shopware-5-5-5-update-fehler/57589/1 "2019-01-21T10:18:53Z")

</div>

Hi,

bekomme beim Update diesen Fehler:

```
 Uncaught Error: Using $this when not in object context in /var/www/clients/client3962/web8047/web/config.php:12\nStack trace:\n#0 /var/www/clients/client3962/web8047/web/recovery/update/src/Utils.php(196): require()\n#1 /var/www/clients/client3962/web8047/web/recovery/update/src/DependencyInjection/Container.php(63): Shopware\\Recovery\\Update\\Utils::getConnection('/var/www/client...')\n#2 /var/www/clients/client3962/web8047/web/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(113): Shopware\\Recovery\\Update\\DependencyInjection\\Container-\>Shopware\\Recovery\\Update\\DependencyInjection\\{closure}(Object(Pimple\\Container))\n#3 /var/www/clients/client3962/web8047/web/recovery/common/src/DependencyInjection/Container.php(80): Pimple\\Container-\>offsetGet('db')\n#4 /var/www/clients/client3962/web8047/web/recovery/update/src/DependencyInjection/Container.php(84): Shopware\\Recovery\\Common\\DependencyInjection\\Container-\>get('db')\n#5 /var/www/clients/client3962/web8047/web/recovery/common/vendor/pimple/pimple/src/Pimp in **/var/www/clients/client3962/web8047/web/config.php** on line **12**

```

**Was kann ich da machen?**

---

<div class="post-metadata">

### Author: ![Patrick\_Stahl](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/patrick_stahl/32/7679_2.png) [@Patrick\_Stahl](https://forum.shopware.com/u/Patrick_Stahl)
#### Post date: [21. Januar 2019 um 10:24 UTC](https://forum.shopware.com/t/shopware-5-5-5-update-fehler/57589/2 "2019-01-21T10:24:45Z")

</div>

Moin @livaro2014‍,

was steht in deiner Datei _config.php_ drin? Da scheint dir eine defekte Zeile reingerutscht zu sein.  
**Aber Achtung: Da stehen Zugangsdaten drin, bitte vorher zensieren!!!**

Womöglich reicht es bereits, wenn du sämtliche Zeilen, die ein “$this” beinhalten, einmal während des Update-Prozesses auskommentierst.

Gruß,  
Patrick&nbsp; ![Shopware](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/86c57fbace799dd4eb1f1b8a2d3bdc1733f0aea1.png "Shopware")

---

<div class="post-metadata">

### Author: ![livaro2014](https://avatars.discourse-cdn.com/v4/letter/l/439d5e/32.png) [@livaro2014](https://forum.shopware.com/u/livaro2014)
#### Post date: [21. Januar 2019 um 11:01 UTC](https://forum.shopware.com/t/shopware-5-5-5-update-fehler/57589/3 "2019-01-21T11:01:59Z")

</div>

Prima, daran lag es, Vielen Dank!
