# Fehlermeldung seit 5.4.2 - checkout/addArticle/sAdd/002354

**URL:** https://forum.shopware.com/t/fehlermeldung-seit-5-4-2-checkout-addarticle-sadd-002354/52516
**Category:** Installation/Einstieg
**Created:** [21. April 2018 um 11:05 UTC](https://forum.shopware.com/t/fehlermeldung-seit-5-4-2-checkout-addarticle-sadd-002354/52516 "2018-04-21T11:05:06Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Schnurk](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@Schnurk](https://forum.shopware.com/u/Schnurk)
#### Post date: [21. April 2018 um 11:05 UTC](https://forum.shopware.com/t/fehlermeldung-seit-5-4-2-checkout-addarticle-sadd-002354/52516/1 "2018-04-21T11:05:06Z")

</div>

Hallo zuammen,

&nbsp;

seit meinem heutigen Update auf die 5.4.2 kriege ich immer wieder Fehleremails wie die unten aufgeführte. Die Artikelnummer ist immer eine andere, aber der Rest bleibt identisch.

&nbsp;

Hat jemand eine Idee wo ich hier anpacken könnte ?

&nbsp;

Viele Grüße  
Stefan

&nbsp;

```
CRITICAL
Message:

This action only admits post requests

Time:

2018-04-21T10:51:00.433207+0200

Channel:

core

request:

{
    "uri": "/checkout/addArticle/sAdd/002354",
    "method": "GET",
    "query": {
        "module": "frontend",
        "controller": "checkout",
        "action": "addArticle",
        "sAdd": "002354"
    },
    "post": []
}

session:

No session data available

shopId:

1

shopName:

XXXXXXX

CRITICAL
Message:

This action only admits post requests

Time:

2018-04-21T10:51:00.472835+0200

Channel:

core

request:

{
    "uri": "/checkout/addArticle/sAdd/002354",
    "method": "GET",
    "query": {
        "module": "frontend",
        "controller": "checkout",
        "action": "addArticle",
        "sAdd": "002354"
    },
    "post": []
}

session:

No session data available

shopId:

1

shopName:

XXXXXX

ERROR
Message:

exception 'LogicException' with message 'This action only admits post requests' in /var/www/XXXXX/XXXX/web/engine/Shopware/Controllers/Frontend/Checkout.php:499
Stack trace:
#0 [internal function]: Shopware_Controllers_Frontend_Checkout->addArticleAction()
#1 /var/www/XXXXX/XXXX/web/var/cache/production_201804030942/proxies/ShopwareControllersFrontendCheckoutProxy.php(7): call_user_func_array(Array, Array)
#2 /var/www/XXXXX/XXXX/web/engine/Library/Enlight/Hook/HookManager.php(187): Shopware_Proxies_ShopwareControllersFrontendCheckoutProxy->executeParent('addArticleActio...', Array)
#3 /var/www/XXXXX/XXXX/web/var/cache/production_201804030942/proxies/ShopwareControllersFrontendCheckoutProxy.php(36): Enlight_Hook_HookManager->executeHooks(Object(Shopware_Proxies_ShopwareControllersFrontendCheckoutProxy), 'addArticleActio...', Array)
#4 /var/www/XXXXX/XXXX/web/engine/Library/Enlight/Controller/Action.php(193): Shopware_Proxies_ShopwareControllersFrontendCheckoutProxy->addArticleAction()
#5 /var/www/XXXXX/XXXX/web/engine/Library/Enlight/Controller/Dispatcher/Default.php(549): Enlight_Controller_Action->dispatch('addArticleActio...')
#6 /var/www/XXXXX/XXXX/web/engine/Library/Enlight/Controller/Front.php(222): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#7 /var/www/XXXXX/XXXX/web/engine/Shopware/Kernel.php(215): Enlight_Controller_Front->dispatch()
#8 /var/www/XXXXX/XXXX/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(486): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#9 /var/www/XXXXX/XXXX/web/engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#10 /var/www/XXXXX/XXXX/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(443): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#11 /var/www/XXXXX/XXXX/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(339): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true)
#12 /var/www/XXXXX/XXXX/web/engine/Shopware/Components/HttpCache/AppCache.php(189): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#13 /var/www/XXXXX/XXXX/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(205): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#14 /var/www/XXXXX/XXXX/web/engine/Shopware/Components/HttpCache/AppCache.php(116): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#15 /var/www/XXXXX/XXXX/web/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#16 {main}

Time:

2018-04-21T10:51:00.473581+0200

Channel:

core

request:

{
    "uri": "/checkout/addArticle/sAdd/002354",
    "method": "GET",
    "query": {
        "module": "frontend",
        "controller": "checkout",
        "action": "addArticle",
        "sAdd": "002354"
    },
    "post": []
}

session:

No session data available

shopId:

1

shopName:

XXXXX

```

&nbsp;

---

<div class="post-metadata">

### Author: ![sschreier](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sschreier/32/23296_2.png) [@sschreier](https://forum.shopware.com/u/sschreier)
#### Post date: [21. April 2018 um 11:20 UTC](https://forum.shopware.com/t/fehlermeldung-seit-5-4-2-checkout-addarticle-sadd-002354/52516/2 "2018-04-21T11:20:56Z")

</div>

Hallo,

der Fehler kommt entweder von deinem eingesetzten Theme oder einem eingesetzten Plugin, dass einen Button anbietet, der den Artikel in den Warenkorb über einen Direktlink versucht zu legen. Seit Shopware 5.4 kann man aber nur noch Artikel über einen POST-Request in den Warenkorb hinzufügen, siehe: [Shopware 5 upgrade guide](https://developers.shopware.com/developers-guide/shopware-5-upgrade-guide-for-developers/#post-on-data-modification) .

Die Fehlermeldung ist ja auch eindeutig:

```
This action only admits post requests

```

Grüße

Sebastian

---

<div class="post-metadata">

### Author: ![Schnurk](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@Schnurk](https://forum.shopware.com/u/Schnurk)
#### Post date: [21. April 2018 um 14:18 UTC](https://forum.shopware.com/t/fehlermeldung-seit-5-4-2-checkout-addarticle-sadd-002354/52516/3 "2018-04-21T14:18:20Z")

</div>

Hi zusammen,

vielen Dank die Rückmeldung. Zur besseren Identifizierung habe ich mal in die Zugriffslogs geschaut und dabei festgestellt, das diese Fehler vom Bingbot aus verursacht werden.&nbsp; Ein spezielles Plugin konnte ich jetzt nicht dafür ausmachen.

Scheinbar versucht er was zu kaufen \*lach\*

&nbsp;

```
207.46.13.10 - - [21/Apr/2018:05:19:57 +0200] "GET /checkout/addArticle/sAdd/40200710 HTTP/1.1" 503 11451 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)"

```

&nbsp;

Grüße  
Stefan

---

<div class="post-metadata">

### Author: ![carrevolutions](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@carrevolutions](https://forum.shopware.com/u/carrevolutions)
#### Post date: [1. September 2018 um 14:59 UTC](https://forum.shopware.com/t/fehlermeldung-seit-5-4-2-checkout-addarticle-sadd-002354/52516/4 "2018-09-01T14:59:29Z")

</div>

Hi,

wie kann man die Bots aus dem Warenkorb aussperren? Oder macht es kein Sinn? Habe letzte Nacht 35 Emails erhalten mit dem Fehler. Scheinbar durch Googlebot

---

<div class="post-metadata">

### Author: ![BestShopPossible](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@BestShopPossible](https://forum.shopware.com/u/BestShopPossible)
#### Post date: [4. September 2018 um 10:06 UTC](https://forum.shopware.com/t/fehlermeldung-seit-5-4-2-checkout-addarticle-sadd-002354/52516/5 "2018-09-04T10:06:11Z")

</div>

Ist eigentlich so vorkonfiguriert:&nbsp;[shopware/index.tpl at 5.4 · shopware/shopware · GitHub](https://github.com/shopware/shopware/blob/5.4/themes/Frontend/Bare/frontend/robots_txt/index.tpl#L8)
