# Subshop Problem

**URL:** https://forum.shopware.com/t/subshop-problem/51154
**Category:** Allgemein
**Created:** [15. Februar 2018 um 10:34 UTC](https://forum.shopware.com/t/subshop-problem/51154 "2018-02-15T10:34:05Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![shoppilein](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@shoppilein](https://forum.shopware.com/u/shoppilein)
#### Post date: [15. Februar 2018 um 10:34 UTC](https://forum.shopware.com/t/subshop-problem/51154/1 "2018-02-15T10:34:05Z")

</div>

Hallo,

mein Shop [triopsking.de](http://triopsking.de) und der subshop [triopsking.com](http://triopsking.com) funktionieren.

aber [triopsking.co.uk](http://triopsking.co.uk) und [triopsking.fr](http://triopsking.fr) funktionieren nicht mehr. Die Einstellungen sind die selben… Ich habe auch versucht auf den Logs irgendwas rauszulesen, aber ich kenne mich da nicht aus und wenn ich den Frontend Log machen möchte, dann funktioniert nach einfügen des codes die website gar nicht mehr.

hat jemand eine idee, woran es liegen könnte?

danke für eure hilfe!

---

<div class="post-metadata">

### Author: ![wabAB](https://avatars.discourse-cdn.com/v4/letter/w/7feea3/32.png) [@wabAB](https://forum.shopware.com/u/wabAB)
#### Post date: [15. Februar 2018 um 11:17 UTC](https://forum.shopware.com/t/subshop-problem/51154/2 "2018-02-15T11:17:28Z")

</div>

Hallo,

hast du mal probiert den gesamten cache zu löschen samt theme cache?

Kannst du einen der nicht funkionierenden subshops aufrufen und dann&nbsp;in var/log die core\_production-YYYY-MM-DD.log von heute vielleicht hier posten?

DIe entwicklerkonsole sagt mir direkt dass es ein problem mit dem csrf token gibt.

VG

---

<div class="post-metadata">

### Author: ![shoppilein](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@shoppilein](https://forum.shopware.com/u/shoppilein)
#### Post date: [15. Februar 2018 um 11:31 UTC](https://forum.shopware.com/t/subshop-problem/51154/3 "2018-02-15T11:31:27Z")

</div>

Error:

exception ‘Psr\Log\InvalidArgumentException’ with message ‘Level “3” is not defined, use one of: 100, 200, 250, 300, 400, 500, 550, 600’ in /vendor/monolog/monolog/src/Monolog/Logger.php:462 Stack trace:  
#0 /engine/Shopware/Plugins/Community/Frontend/BestitAmazonPay/src/BestitAmazonPay/Config/Config.php(42): Monolog\Logger::getLevelName()  
#1 /engine/Shopware/Plugins/Community/Frontend/BestitAmazonPay/src/BestitAmazonPay/Logger.php(64): BestitAmazonPay\Config\Config-\>getDebug()  
#2 /vendor/monolog/monolog/src/Monolog/Logger.php(560): BestitAmazonPay\Logger-\>addRecord(250, ‘Main shop not c…’, Array)  
#3 /engine/Shopware/Plugins/Community/Frontend/BestitAmazonPay/Bootstrap.php(2113): Monolog\Logger-\>notice()  
#4 /engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware\_Plugins\_Frontend\_BestitAmazonPay\_Bootstrap-\>onPostDispatch(Object(Enlight\_Controller\_ActionEventArgs))  
#5 /engine/Library/Enlight/Event/EventManager.php(218): Enlight\_Event\_Handler\_Plugin-\>execute(Object(Enlight\_Controller\_ActionEventArgs))  
#6 /engine/Library/Enlight/Controller/Action.php(185): Enlight\_Event\_EventManager-\>notify(‘Enlight\_Control…’, Object(Enlight\_Controller\_ActionEventArgs))  
#7 /engine/Library/Enlight/Controller/Dispatcher/Default.php(530): Enlight\_Controller\_Action-\>dispatch(‘indexAction’)  
#8 /engine/Library/Enlight/Controller/Front.php(223): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp))  
#9 /engine/Shopware/Kernel.php(191): Enlight\_Controller\_Front-\>dispatch()  
#10 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(484): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
#11 /engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)  
#12 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(441): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true)  
#13 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(337): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>fetch(Object(Symfony\Component\HttpFoundation\Request), true)  
#14 /engine/Shopware/Components/HttpCache/AppCache.php(189): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>lookup(Object(Symfony\Component\HttpFoundation\Request), true)  
#15 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(203): Shopware\Components\HttpCache\AppCache-\>lookup(Object(Symfony\Component\HttpFoundation\Request), true)  
#16 /engine/Shopware/Components/HttpCache/AppCache.php(116): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
#17 /var/www/vhosts/triopsking.aixpro.de/httpdocs/shopware.php(118): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request))  
#18 {main}

* * *

CRITICAL

Level “3” is not defined, use one of: 100, 200, 250, 300, 400, 500, 550, 600

---

<div class="post-metadata">

### Author: ![wabAB](https://avatars.discourse-cdn.com/v4/letter/w/7feea3/32.png) [@wabAB](https://forum.shopware.com/u/wabAB)
#### Post date: [15. Februar 2018 um 11:38 UTC](https://forum.shopware.com/t/subshop-problem/51154/4 "2018-02-15T11:38:02Z")

</div>

Kannst du d&nbsp;amazonPay Plugin für eine kurze Zeit deaktivieren, gesamten chache leeren und dann noch einmal einen der subshops aufrufen?

Kommt der fehler&nbsp; dann weiterhin?

Kann man in den&nbsp;Plugin Konfigs von amazonPay das Logging level ändern?

---

<div class="post-metadata">

### Author: ![shoppilein](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@shoppilein](https://forum.shopware.com/u/shoppilein)
#### Post date: [15. Februar 2018 um 12:05 UTC](https://forum.shopware.com/t/subshop-problem/51154/5 "2018-02-15T12:05:37Z")

</div>

Super cool! Danke!

Es lag an dem Amazon Pay Plugin. Ich habe dort den Punkt “Debug” gesehen und der steht bei .de auf emergency und bei .com auf Error. Bei .fr und .co.uk war er auf 3.&nbsp;  
Habe ihn jetzt auf .fr und .co.uk auch auf Error gestellt und jetzt sind die Shops wieder erreichbar.&nbsp;

Ich weiß zwar nicht, was ich da jetzt eigentlich eingestellt habe, aber die Shops funktionieren wohl wieder. 🙂

---

<div class="post-metadata">

### Author: ![wabAB](https://avatars.discourse-cdn.com/v4/letter/w/7feea3/32.png) [@wabAB](https://forum.shopware.com/u/wabAB)
#### Post date: [15. Februar 2018 um 12:26 UTC](https://forum.shopware.com/t/subshop-problem/51154/6 "2018-02-15T12:26:23Z")

</div>

Gerne,

die Fehlermeldung sagt aus, dass der Logging Level 3 nicht existiert Meistens sind es INFO, WARNING, ERROR, DEBUG oder ähnliches und diese sind intern mit den codes 100, 200 usw. hinterlegt.&nbsp;

Möglicherweise hat jemand einen Tippfehler gemacht.

VG 🙂

---

<div class="post-metadata">

### Author: ![shoppilein](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@shoppilein](https://forum.shopware.com/u/shoppilein)
#### Post date: [15. Februar 2018 um 12:28 UTC](https://forum.shopware.com/t/subshop-problem/51154/7 "2018-02-15T12:28:43Z")

</div>

Alles klar, danke dir vielmals!!!
