Hallo,
manche meiner Kunden bekommen nach dem einloggen Fehlermeldungen und können nichts mehr im Shop machen.
Hat jemand eine Ahnung woran das liegt?
Folgende Error-Meldungen bekomme ich dann per Mail:
CRITICAL
Message:
**Entity of type 'Shopware\Models\Customer\Address' for IDs id(0) was not found**
Time:
**2020-05-11T12:16:14.011655+0200**
Channel:
**core**
request:
**{ "uri": "/account/login/sTarget/account/sTargetAction/index", "method": "POST", "query": { "module": "frontend", "controller": "account", "action": "login", "sTarget": "account", "sTargetAction": "index" }, "post": { "sTarget": "account", "email": "xxx@xxx.de", "Submit": "", "\_\_csrf\_token": "0Lhpr1LJGdvB0I76LQaS1AEl2VzK0n" }**
session:
**No session data available**
shopId:
**1**
shopName:
**Shop-Deutsch**
Außerdem bekomme ich noch folgende Meldung per Mail:
ERROR
Message:
Doctrine\ORM\EntityNotFoundException: Entity of type 'Shopware\Models\Customer\Address' for IDs id(0) was not found in /www/htdocs/v123456/reenactment-werkstatt.de/vendor/doctrine/orm/lib/Doctrine/ORM/EntityNotFoundException.php:47 Stack trace: #0 /www/htdocs/v123456/reenactment-werkstatt.de/vendor/doctrine/orm/lib/Doctrine/ORM/Proxy/ProxyFactory.php(164): Doctrine\ORM\EntityNotFoundException::fromClassNameAndIdentifier('Shopware\\Models...', Array) #1 /www/htdocs/v123456/reenactment-werkstatt.de/var/cache/production\_202003031106/doctrine/proxies/\_\_CG\_\_ShopwareModelsCustomerAddress.php(108): Doctrine\ORM\Proxy\ProxyFactory-\>Doctrine\ORM\Proxy\{closure}(Object(Shopware\Proxies\_\_CG\_\_\Shopware\Models\Customer\Address), '\_\_load', Array) #2 /www/htdocs/v123456/reenactment-werkstatt.de/var/cache/production\_202003031106/doctrine/proxies/\_\_CG\_\_ShopwareModelsCustomerAddress.php(108): Closure-\>\_\_invoke(Object(Shopware\Proxies\_\_CG\_\_\Shopware\Models\Customer\Address), '\_\_load', Array) #3 /www/htdocs/v123456/reenactment-werkstatt.de/engine/Shopware/Components/Model/ModelManager.php(321): Shopware\Proxies\_\_CG\_\_\Shopware\Models\Customer\Address-\>\_\_load() #4 /www/htdocs/v123456/reenactment-werkstatt.de/engine/Shopware/Components/Model/ModelManager.php(123): Shopware\Components\Model\ModelManager-\>serializeEntity(Object(Shopware\Proxies\_\_CG\_\_\Shopware\Models\Customer\Address)) #5 /www/htdocs/v123456/reenactment-werkstatt.de/engine/Shopware/Core/sAdmin.php(3468): Shopware\Components\Model\ModelManager-\>toArray(Object(Shopware\Proxies\_\_CG\_\_\Shopware\Models\Customer\Address)) #6 /www/htdocs/v123456/reenactment-werkstatt.de/engine/Shopware/Core/sAdmin.php(3832): sAdmin-\>convertToLegacyAddressArray(Object(Shopware\Proxies\_\_CG\_\_\Shopware\Models\Customer\Address)) #7 /www/htdocs/v123456/reenactment-werkstatt.de/engine/Shopware/Core/sAdmin.php(1509): sAdmin-\>getUserShippingData(3234, Array, 'SELECT c.\*, a.n...') #8 /www/htdocs/v123456/reenactment-werkstatt.de/engine/Shopware/Core/sBasket.php(2049): sAdmin-\>sGetUserData() #9 /www/htdocs/v123456/reenactment-werkstatt.de/engine/Shopware/Components/Cart/CartMigration.php(85): sBasket-\>sRefreshBasket() #10 /www/htdocs/v123456/reenactment-werkstatt.de/engine/Shopware/Core/sAdmin.php(3264): Shopware\Components\Cart\CartMigration-\>migrate() #11 /www/htdocs/v123456/reenactment-werkstatt.de/engine/Shopware/Core/sAdmin.php(843): sAdmin-\>loginUser(Array, 'xxx@t-onlin...', '$2y$10$LkrtuWk4...', false, 'bcrypt', 'xyz', '$2y$10$LkrtuWk4...') #12 /www/htdocs/v123456/reenactment-werkstatt.de/engine/Shopware/Controllers/Frontend/Account.php(266): sAdmin-\>sLogin() #13 /www/htdocs/v123456/reenactment-werkstatt.de/engine/Library/Enlight/Controller/Action.php(192): Shopware\_Controllers\_Frontend\_Account-\>loginAction() #14 /www/htdocs/v123456/reenactment-werkstatt.de/engine/Library/Enlight/Controller/Dispatcher/Default.php(478): Enlight\_Controller\_Action-\>dispatch('loginAction') #15 /www/htdocs/v123456/reenactment-werkstatt.de/engine/Library/Enlight/Controller/Front.php(228): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #16 /www/htdocs/v123456/reenactment-werkstatt.de/engine/Shopware/Kernel.php(188): Enlight\_Controller\_Front-\>dispatch() #17 /www/htdocs/v123456/reenactment-werkstatt.de/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #18 /www/htdocs/v123456/reenactment-werkstatt.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php(453): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true) #19 /www/htdocs/v123456/reenactment-werkstatt.de/engine/Shopware/Components/HttpCache/AppCache.php(261): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #20 /www/htdocs/v123456/reenactment-werkstatt.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php(238): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #21 /www/htdocs/v123456/reenactment-werkstatt.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true) #22 /www/htdocs/v123456/reenactment-werkstatt.de/engine/Shopware/Components/HttpCache/AppCache.php(143): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true) #23 /www/htdocs/v123456/reenactment-werkstatt.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php(181): Shopware\Components\HttpCache\AppCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true) #24 /www/htdocs/v123456/reenactment-werkstatt.de/engine/Shopware/Components/HttpCache/AppCache.php(113): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #25 /www/htdocs/v123456/reenactment-werkstatt.de/shopware.php(122): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #26 {main}
Time:
2020-05-11T12:16:14.684096+0200
Channel:
core
request:
{ "uri": "/account/login/sTarget/account/sTargetAction/index", "method": "POST", "query": { "module": "frontend", "controller": "account", "action": "login", "sTarget": "account", "sTargetAction": "index" }, "post": { "sTarget": "account", "email": "xxx@xxx.de", "Submit": "", "\_\_csrf\_token": "0Lhpr1LJGdvB0I76LQaS1AEl2VzK0n" } }
session:
No session data available
shopId:
1
shopName:
Shop-Deutsch