Kundenlogin führt zu "Fatal error!

Hey Zusammen,

ich bin komplett neu in Shopware (VERSION 5.6.4) und habe direkt ein Problem:

Fatal error : Uncaught TypeError: Argument 1 passed to sAdmin::convertToLegacyAddressArray() must be an instance of Shopware\Models\Customer\Address, null given, called in /var/www/clients/client1/web17/web/engine/Shopware/Core/sAdmin.php on line 3879 and defined in /var/www/clients/client1/web17/web/engine/Shopware/Core/sAdmin.php:3460 Stack trace: #0 /var/www/clients/client1/web17/web/engine/Shopware/Core/sAdmin.php(3879): sAdmin->convertToLegacyAddressArray(NULL) #1 /var/www/clients/client1/web17/web/engine/Shopware/Core/sAdmin.php(1496): sAdmin->getUserBillingData(2, Array) #2 /var/www/clients/client1/web17/web/engine/Shopware/Core/sBasket.php(2006): sAdmin->sGetUserData() #3 /var/www/clients/client1/web17/web/engine/Shopware/Components/Cart/CartMigration.php(85): sBasket->sRefreshBasket() #4 /var/www/clients/client1/web17/web/engine/Shopware/Core/sAdmin.php(3258): Shopware\Components\Cart\CartMigration->migrate() #5 /var/www/clients/client1/web17/web/engine/Shopware/Core/sAdmin.php(843): sAdmin->loginUser(Array, 'pzei in  /var/www/clients/client1/web17/web/engine/Shopware/Core/sAdmin.php  on line  3460

Dies passiert, sobald man versucht sich mit einem Kundenaccount anzumelden.
Hat jemand eine Idee, was da sein könnte? 

Das hier kommt aus dem LOG :

[2020-01-28 18:38:14] core.CRITICAL: Multiple non-persisted new entities were found through the given association graph:   * A new entity was found through the relationship ‚Shopware\Models\Customer\Customer#defaultBillingAddress‘ that was not configured to cascade persist operations for entity: Shopware\Models\Customer\Address@0000000042cf86090000000028440d5d. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={„persist“}). If you cannot find out which entity causes the problem implement ‚Shopware\Models\Customer\Address#__toString()‘ to get a clue.  * A new entity was found through the relationship ‚Shopware\Models\Customer\Customer#defaultShippingAddress‘ that was not configured to cascade persist operations for entity: Shopware\Models\Customer\Address@0000000042cf860e0000000028440d5d. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={„persist“}). If you cannot find out which entity causes the problem implement ‚Shopware\Models\Customer\Address#__toString()‘ to get a clue. {„uid“:„34ce74d“}
[2020-01-28 18:38:14] core.CRITICAL: Multiple non-persisted new entities were found through the given association graph:   * A new entity was found through the relationship ‚Shopware\Models\Customer\Customer#defaultBillingAddress‘ that was not configured to cascade persist operations for entity: Shopware\Models\Customer\Address@0000000042cf86090000000028440d5d. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={„persist“}). If you cannot find out which entity causes the problem implement ‚Shopware\Models\Customer\Address#__toString()‘ to get a clue.  * A new entity was found through the relationship ‚Shopware\Models\Customer\Customer#defaultShippingAddress‘ that was not configured to cascade persist operations for entity: Shopware\Models\Customer\Address@0000000042cf860e0000000028440d5d. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={„persist“}). If you cannot find out which entity causes the problem implement ‚Shopware\Models\Customer\Address#__toString()‘ to get a clue. {„uid“:„34ce74d“}
[2020-01-28 18:38:14] core.ERROR: Doctrine\ORM\ORMInvalidArgumentException: Multiple non-persisted new entities were found through the given association graph:   * A new entity was found through the relationship ‚Shopware\Models\Customer\Customer#defaultBillingAddress‘ that was not configured to cascade persist operations for entity: Shopware\Models\Customer\Address@0000000042cf86090000000028440d5d. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={„persist“}). If you cannot find out which entity causes the problem implement ‚Shopware\Models\Customer\Address#__toString()‘ to get a clue.  * A new entity was found through the relationship ‚Shopware\Models\Customer\Customer#defaultShippingAddress‘ that was not configured to cascade persist operations for entity: Shopware\Models\Customer\Address@0000000042cf860e0000000028440d5d. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={„persist“}). If you cannot find out which entity causes the problem implement ‚Shopware\Models\Customer\Address#__toString()‘ to get a clue. in /var/www/clients/client1/web17/web/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php:105 Stack trace: #0 /var/www/clients/client1/web17/web/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(3445): Doctrine\ORM\ORMInvalidArgumentException::newEntitiesFoundThroughRelationships(Array) #1 /var/www/clients/client1/web17/web/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(364): Doctrine\ORM\UnitOfWork->assertThatThereAreNoUnintentionallyNonPersistedAssociations() #2 /var/www/clients/client1/web17/web/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(359): Doctrine\ORM\UnitOfWork->commit(NULL) #3 /var/www/clients/client1/web17/web/engine/Shopware/Controllers/Backend/Customer.php(380): Doctrine\ORM\EntityManager->flush() #4 /var/www/clients/client1/web17/web/engine/Library/Enlight/Controller/Action.php(192): Shopware_Controllers_Backend_Customer->saveAction() #5 /var/www/clients/client1/web17/web/engine/Library/Enlight/Controller/Dispatcher/Default.php(478): Enlight_Controller_Action->dispatch(‚saveAction‘) #6 /var/www/clients/client1/web17/web/engine/Library/Enlight/Controller/Front.php(228): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #7 /var/www/clients/client1/web17/web/engine/Shopware/Kernel.php(186): Enlight_Controller_Front->dispatch() #8 /var/www/clients/client1/web17/web/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #9 /var/www/clients/client1/web17/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(447): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true) #10 /var/www/clients/client1/web17/web/engine/Shopware/Components/HttpCache/AppCache.php(256): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #11 /var/www/clients/client1/web17/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(238): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #12 /var/www/clients/client1/web17/web/engine/Shopware/Components/HttpCache/AppCache.php(99): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) #13 /var/www/clients/client1/web17/web/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #14 {main} {„uid“:„34ce74d“}

Und ich sehe bei den Kunden:

  • Standard Lieferadresse = NULL
  • Standard Rechnungsadresse = NULL

 

Vielen Dank euch!!
VG, Patrick