# Problem mit Warenkorb nach Update

**URL:** <https://forum.shopware.com/t/problem-mit-warenkorb-nach-update/59211>\
**Category:** Allgemein\
**Created:** [24. April 2019 um 09:02 UTC](https://forum.shopware.com/t/problem-mit-warenkorb-nach-update/59211 "2019-04-24T09:02:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin95](https://avatars.discourse-cdn.com/v4/letter/k/74df32/32.png) [@Kevin95](https://forum.shopware.com/u/Kevin95)\
**Post date:** [24. April 2019 um 09:02 UTC](https://forum.shopware.com/t/problem-mit-warenkorb-nach-update/59211/1 "2019-04-24T09:02:07Z")

</div>

Gestern haben wir unseren Shop auf 5.5.8 geupdatet, es Sah auch bis heute alles in ordnung aus.

Nun kann man allerdings keine Artikel mehr in den Warenkorb legen, der Warenkorb lässt sich allerdings öffnen.

Nun habe Ich einen Fehler Bekommen mit dem Ich leider nicht sehr viel anfangen kann.

&nbsp;

CRITICAL

Message:

```
 SQLSTATE(23000): Integrity constraint violation: 1052 Column 'laststock' in field list is ambiguous

```

Time:

```
 2019-04-24T10:29:16.762324+0200

```

Channel:

```
 core

```

request:

```
 { "uri": "/checkout/ajaxAddArticleCart", "method": "POST", "query": { "module": "frontend", "controller": "checkout", "action": "ajaxAddArticleCart" }, "post": { "sActionIdentifier": "", "sAddAccessories": "", "sAdd": "SWBPK01", "sQuantity": "1", "\_\_csrf\_token": "cvdoRKAaDSwyUoOMPbQKX60loff4F5", "isXHR": "1" } }

```

session:

```
 No session data available

```

shopId:

```
 1

```

shopName:

```
 Schweisskompass

```

&nbsp;

> **[Schweißkompass](https://www.schweisskompass.de/)**

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [24. April 2019 um 09:47 UTC](https://forum.shopware.com/t/problem-mit-warenkorb-nach-update/59211/2 "2019-04-24T09:47:43Z")

</div>

Die Fehlermeldung ist etwas merkwürdig, aber im Warenkorb wird ein 503 Fehler erzeugt. Schau mal bitte im PHP-Log (error\_log) des Servers nach. Dort sollten noch weitere Hinweise enthalten sein. Ggf. beim Hoster anfragen.

---

<div class="post-metadata">

**Author:** ![Kevin95](https://avatars.discourse-cdn.com/v4/letter/k/74df32/32.png) [@Kevin95](https://forum.shopware.com/u/Kevin95)\
**Post date:** [24. April 2019 um 10:11 UTC](https://forum.shopware.com/t/problem-mit-warenkorb-nach-update/59211/3 "2019-04-24T10:11:58Z")

</div>

Vielen dank für die schnelle antwort.

der Server gibt mir folgende auskunft bei der error meldung.

exception ‚PDOException‘ with message ‚SQLSTATE(23000): Integrity constraint violation: 1052 Column ‚laststock‘ in field list is ambiguous‘ in /engine/Library/Zend/Db/Statement/Pdo.php:219 Stack trace:  
#0 /engine/Library/Zend/Db/Statement/Pdo.php(219): PDOStatement-\>execute(Array)  
#1 /engine/Library/Zend/Db/Statement.php(297): Zend\_Db\_Statement\_Pdo-\>\_execute(Array)  
#2 /engine/Library/Zend/Db/Adapter/Abstract.php(470): Zend\_Db\_Statement-\>execute(Array)  
#3 /engine/Library/Zend/Db/Adapter/Pdo/Abstract.php(232): Zend\_Db\_Adapter\_Abstract-\>query(’\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S…’, Array)  
#4 /engine/Library/Enlight/Components/Db/Adapter/Pdo/Mysql.php(85): Zend\_Db\_Adapter\_Pdo\_Abstract-\>query(’\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S…’, Array)  
#5 /engine/Library/Zend/Db/Adapter/Abstract.php(747): Enlight\_Components\_Db\_Adapter\_Pdo\_Mysql-\>query(’\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S…’, Array)  
#6 /engine/Shopware/Plugins/Community/Frontend/Pixelconfi/Bootstrap.php(2549): Zend\_Db\_Adapter\_Abstract-\>fetchRow()  
#7 /engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware\_Plugins\_Frontend\_Pixelconfi\_Bootstrap-\>onsAddArticle(Object(Enlight\_Hook\_HookArgs))  
#8 /engine/Library/Enlight/Hook/HookExecutionContext.php(152): Enlight\_Event\_Handler\_Plugin-\>execute(Object(Enlight\_Hook\_HookArgs))  
#9 /engine/Library/Enlight/Hook/HookExecutionContext.php(107): Enlight\_Hook\_HookExecutionContext-\>executeReplaceChain(Array)  
#10 /engine/Library/Enlight/Hook/HookManager.php(185): Enlight\_Hook\_HookExecutionContext-\>execute()  
#11 /var/www/vhosts/schweisskompass.de/httpdocs/var/cache/production\_201904021344/proxies/sBasketProxy.php(115): Enlight\_Hook\_HookManager-\>executeHooks(Object(Shopware\_Proxies\_sBasketProxy), ‚sAddArticle‘, Array)  
#12 /engine/Shopware/Controllers/Frontend/Checkout.php(1557): Shopware\_Proxies\_sBasketProxy-\>sAddArticle(‚SW10185‘, ‚1‘)  
#13 /engine/Library/Enlight/Controller/Action.php(192): Shopware\_Controllers\_Frontend\_Checkout-\>ajaxAddArticleCartAction()  
#14 /engine/Library/Enlight/Controller/Dispatcher/Default.php(563): Enlight\_Controller\_Action-\>dispatch(‚ajaxAddArticleC…‘)  
#15 /engine/Library/Enlight/Controller/Front.php(222): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp))  
#16 /engine/Shopware/Kernel.php(202): Enlight\_Controller\_Front-\>dispatch()  
#17 /vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
#18 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(448): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true)  
#19 /engine/Shopware/Components/HttpCache/AppCache.php(260): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)  
#20 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(238): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true)  
#21 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true)  
#22 /engine/Shopware/Components/HttpCache/AppCache.php(142): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true)  
#23 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(181): Shopware\Components\HttpCache\AppCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true)  
#24 /engine/Shopware/Components/HttpCache/AppCache.php(116): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
#25 /var/www/vhosts/schweisskompass.de/httpdocs/shopware.php(122): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request))  
#26

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [24. April 2019 um 10:14 UTC](https://forum.shopware.com/t/problem-mit-warenkorb-nach-update/59211/4 "2019-04-24T10:14:23Z")

</div>

Nein, das ist das Log von Shopware nicht vom Server.

SW Hilfe:

- Fehlermeldungen in Shopware debuggen und untersuchen  
[http://community.shopware.com/Fehlermeldungen-in-Shopware-debuggen\_detail\_1880.html](http://community.shopware.com/Fehlermeldungen-in-Shopware-debuggen_detail_1880.html)

- Fehlermeldungen in error\_log auf Server untersuchen  
Bitte nicht mit Shopware Log verwechseln. Liegt meist außerhalb vom httpdocs-Order der Domain - ggf. beim Hoster anfragen.

&nbsp;

---

<div class="post-metadata">

**Author:** ![Kevin95](https://avatars.discourse-cdn.com/v4/letter/k/74df32/32.png) [@Kevin95](https://forum.shopware.com/u/Kevin95)\
**Post date:** [24. April 2019 um 12:24 UTC](https://forum.shopware.com/t/problem-mit-warenkorb-nach-update/59211/5 "2019-04-24T12:24:52Z")

</div>

Jetzt habe Ich Ihn gefunden,

leider finde Ich zu diesen fehler aber keine weiteren Informationen wie man Ihn beheben könnte.

&nbsp;

PHP Fatal error:&nbsp; Call to a member function getSource() on null in /var/www/vhosts/schweisskompass.de/httpdocs/engine/Shopware/Plugins/Default/Backend/PluginManager/Controllers/Backend/PluginInstaller.php on line 152\n’, referer: [https://www.schweisskompass.de/backend](https://www.schweisskompass.de/backend)

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [24. April 2019 um 12:52 UTC](https://forum.shopware.com/t/problem-mit-warenkorb-nach-update/59211/6 "2019-04-24T12:52:22Z")

</div>

![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/0/00e9a5ff3c969375a7e2ec3d1e6467f732a3a9fa.png)

Auch hier nochmal der Hinweis, bitet wenn möglich die Code-Funktion vom Forum nutzen.

Vorher der PHP-Fehler kommt ist mir noch unklar. Wenn alles Stricke reißen dann ggf. Backup einspielen was ja hoffentlich vor dem Update gemacht wurde.
