Ich bekomme die folgende Fehlermeldung, wenn ich einen Artikel in den Warenkorb lege:
Invalides Formular-Token!
Die Aktion konnte aufgrund eines invaliden Formular-Tokens nicht durchgeführt werden.
Ein neues Token wurde bereits generiert.
Bitte gehen Sie in Ihrem Browser eine Seite zurück und starten die Aktion erneut.
Die Log-Datei sagt:
ERROR
Message:
exception 'Shopware\Components\CSRFTokenValidationException' with message 'The provided X-CSRF-Token for path "/shopware/checkout/addArticle" is invalid. Please go back, reload the page and try again.' in /kunden/xxx/joomla3/shopware/engine/Shopware/Components/CSRFTokenValidator.php:155 Stack trace: #0 [internal function]: Shopware\Components\CSRFTokenValidator-\>checkFrontendTokenValidation(Object(Enlight\_Controller\_ActionEventArgs)) #1 /kunden/xxx/joomla3/shopware/engine/Library/Enlight/Event/Handler/Default.php(91): call\_user\_func(Array, Object(Enlight\_Controller\_ActionEventArgs)) #2 /kunden/xxx/joomla3/shopware/engine/Library/Enlight/Event/EventManager.php(218): Enlight\_Event\_Handler\_Default-\>execute(Object(Enlight\_Controller\_ActionEventArgs)) #3 /kunden/xxx/joomla3/shopware/engine/Library/Enlight/Controller/Action.php(143): Enlight\_Event\_EventManager-\>notify('Enlight\_Control...', Object(Enlight\_Controller\_ActionEventArgs)) #4 /kunden/xxx/joomla3/shopware/engine/Library/Enlight/Controller/Dispatcher/Default.php(530): Enlight\_Controller\_Action-\>dispatch('addArticleActio...') #5 /kunden/xxx/joomla3/shopware/engine/Library/Enlight/Controller/Front.php(223): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #6 /kunden/xxx/joomla3/shopware/engine/Shopware/Kernel.php(191): Enlight\_Controller\_Front-\>dispatch() #7 /kunden/xxx/joomla3/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(484): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #8 /kunden/xxx/joomla3/shopware/engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #9 /kunden/xxx/joomla3/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(251): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #10 /kunden/xxx/joomla3/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true) #11 /kunden/xxx/joomla3/shopware/engine/Shopware/Components/HttpCache/AppCache.php(143): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true) #12 /kunden/xxx/joomla3/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(199): Shopware\Components\HttpCache\AppCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true) #13 /kunden/xxx/joomla3/shopware/engine/Shopware/Components/HttpCache/AppCache.php(116): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #14 /kunden/xxx/joomla3/shopware/shopware.php(118): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #15 {main}
Time:
2018-02-02T09:34:12.195935+0100
Channel:
core
request:
{ "uri": "/shopware/checkout/addArticle", "method": "POST", "query": { "module": "frontend", "controller": "checkout", "action": "addArticle" }, "post": { "sActionIdentifier": "", "sAddAccessories": "", "sAdd": "SW15849", "sQuantity": "1", "In\_den\_Warenkorb": "" } }
Was läuft hier falsch? Plugins habe ich fast alle deaktiviert bzw. aktualisiert, Cache geleert.