Hi,
ich habe ein Problem, wenn ich eine Bestellung speichern will bekommen ich die Fehlermeldung:
Beim Speichern der Bestellung 000004895 ist ein Fehler aufgetreten.
Entity of type ‘Shopware\Models\Customer\Customer’ for IDs id(0) was not found
Das passiert mit Importieren Bestellungen aus meinem alten Shop wo Kunden bestellt haben ohne eine Kundenkonto zu speichern.
Ich hab extra nochmal einen Snapshot vor dem Update getestet, und da hat es definitiv fuktioniert.
Weiss ja jemand weiter?
Gruß Helle
Ach ja…das Logfile sagt folgendes:
[2018-11-01 21:37:12] core.CRITICAL: Entity of type ‘Shopware\Models\Customer\Customer’ for IDs id(0) was not found {“uid”:“04b50f3”}
[2018-11-01 21:37:12] core.CRITICAL: Entity of type ‘Shopware\Models\Customer\Customer’ for IDs id(0) was not found {“uid”:“04b50f3”}
[2018-11-01 21:37:12] core.ERROR: Doctrine\ORM\EntityNotFoundException: Entity of type ‘Shopware\Models\Customer\Customer’ for IDs id(0) was not found in /data/vendor/doctrine/orm/lib/Doctrine/ORM/EntityNotFoundException.php:47 Stack trace: #0 /data/vendor/doctrine/orm/lib/Doctrine/ORM/Proxy/ProxyFactory.php(196): Doctrine\ORM\EntityNotFoundException::fromClassNameAndIdentifier(‘Shopware\Models…’, Array) #1 /data/var/cache/production_201810171014/doctrine/proxies/__CG__ShopwareModelsCustomerCustomer.php(593): Doctrine\ORM\Proxy\ProxyFactory->Doctrine\ORM\Proxy{closure}(Object(Shopware\Proxies__CG__\Shopware\Models\Customer\Customer), ‘getAttribute’, Array) #2 /data/var/cache/production_201810171014/doctrine/proxies/__CG__ShopwareModelsCustomerCustomer.php(593): Closure->__invoke(Object(Shopware\Proxies__CG__\Shopware\Models\Customer\Customer), ‘getAttribute’, Array) #3 /data/engine/Shopware/Plugins/Community/Frontend/BestitAmazonPay/src/BestitAmazonAlexa/Subscriber/OrderStateSubscriber.php(69): Shopware\Proxies__CG__\Shopware\Models\Customer\Customer->getAttribute() #4 /data/vendor/doctrine/common/lib/Doctrine/Common/EventManager.php(59): BestitAmazonAlexa\Subscriber\OrderStateSubscriber->onFlush(Object(Doctrine\ORM\Event\OnFlushEventArgs)) #5 /data/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(3318): Doctrine\Common\EventManager->dispatchEvent(‘onFlush’, Object(Doctrine\ORM\Event\OnFlushEventArgs)) #6 /data/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(367): Doctrine\ORM\UnitOfWork->dispatchOnFlushEvent() #7 /data/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(356): Doctrine\ORM\UnitOfWork->commit(NULL) #8 /data/engine/Shopware/Controllers/Backend/Order.php(502): Doctrine\ORM\EntityManager->flush() #9 /data/engine/Library/Enlight/Controller/Action.php(193): Shopware_Controllers_Backend_Order->saveAction() #10 /data/engine/Library/Enlight/Controller/Dispatcher/Default.php(548): Enlight_Controller_Action->dispatch(‘saveAction’) #11 /data/engine/Library/Enlight/Controller/Front.php(222): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #12 /data/engine/Shopware/Kernel.php(202): Enlight_Controller_Front->dispatch() #13 /data/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #14 /data/vendor/symfony/http-kernel/HttpCache/HttpCache.php(448): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true) #15 /data/engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #16 /data/vendor/symfony/http-kernel/HttpCache/HttpCache.php(238): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #17 /data/engine/Shopware/Components/HttpCache/AppCache.php(105): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) #18 /data/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #19 {main} {“uid”:“04b50f3”}
shyim
3
Das Amazon Plugin macht es kaputt
Hmmm Das Plugin mal wieder…danke, ich werd es mal testen…