# The EntityManager is closed. Kundenkonto anlegen

**URL:** <https://forum.shopware.com/t/the-entitymanager-is-closed-kundenkonto-anlegen/92432>\
**Category:** Shopware 5\
**Created:** [18. Januar 2022 um 18:08 UTC](https://forum.shopware.com/t/the-entitymanager-is-closed-kundenkonto-anlegen/92432 "2022-01-18T18:08:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diabolo\_01](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@Diabolo\_01](https://forum.shopware.com/u/Diabolo_01)\
**Post date:** [18. Januar 2022 um 18:08 UTC](https://forum.shopware.com/t/the-entitymanager-is-closed-kundenkonto-anlegen/92432/1 "2022-01-18T18:08:37Z")

</div>

Hallo  
beim Vesuch sich ein Kundenkonto anzulegen kommt diese Fehlermeldung.  
Leider konnte ich bisher nichts passendes finden um dieses Problem zu lösen, zumal ich auch nicht wirklich die Ahnung vom -System habe.  
Version 5.5.10

Hat jemand einen ansatz wo ich etwas durchforsten kann?

CRITICAL  
Message:

The EntityManager is closed.

Time:

2022-01-18T18:48:11.423663+0100

Channel:

core

request:

{  
„uri“: „/register/saveRegister/sTarget/account/sTargetAction/index“,  
„method“: „POST“,  
„query“: {  
„module“: „frontend“,  
„controller“: „register“,  
„action“: „saveRegister“,  
„sTarget“: „account“,  
„sTargetAction“: „index“  
},  
„post“: {  
„register“: {  
„personal“: {  
„customer\_type“: „private“,  
„salutation“: „mr“,  
„firstname“: „Max“,  
„lastname“: „Mustermann“,  
„accountmode“: „0“,  
„email“: „maxie.mustermann@xxxxx“,  
„emailConfirmation“: „maxie.mustermann@xxxx“,  
„phone“: „“,  
„dpacheckbox“: „1“  
},  
„billing“: {  
„country“: „2“,  
„zipcode“: „00000“,  
„city“: „Musterstadt“,  
„additionalAddressLine1“: „“,  
„street“: „Musterweg 10“  
},  
„shipping“: {  
„company“: „“,  
„department“: „“,  
„firstname“: „“,  
„lastname“: „“,  
„zipcode“: „“,  
„city“: „“,  
„additionalAddressLine1“: „“,  
„street“: „“  
}  
},  
„ziplookupurl“: „/widgets/ZipcodeLookup/lookup“,  
„first\_name\_confirmation“: „“,  
„captchaName“: „honeypot“,  
„Submit“: „“,  
„\_\_csrf\_token“: „uNatHNup4K1dMBBlCIJZacKiM6uSA6“  
}  
}

session:

No session data available

shopId:

1

shopName:

ERROR  
Message:

exception ‚Doctrine\ORM\ORMException‘ with message ‚The EntityManager is closed.‘ in /www/htdocs/w0137ff5/shop/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php:144  
Stack trace:  
#0 /www/htdocs/w0137ff5/shop/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(741): Doctrine\ORM\ORMException::entityManagerClosed()  
#1 /www/htdocs/w0137ff5/shop/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(577): Doctrine\ORM\EntityManager-\>errorIfClosed()  
#2 /www/htdocs/w0137ff5/shop/engine/Shopware/Bundle/AccountBundle/Service/AddressService.php(61): Doctrine\ORM\EntityManager-\>persist(Object(Shopware\Models\Customer\Address))  
#3 /www/htdocs/w0137ff5/shop/engine/Shopware/Bundle/AccountBundle/Service/RegisterService.php(124): Shopware\Bundle\AccountBundle\Service\AddressService-\>create(Object(Shopware\Models\Customer\Address), Object(Shopware\Models\Customer\Customer))  
#4 /www/htdocs/w0137ff5/shop/engine/Shopware/Controllers/Frontend/Register.php(197): Shopware\Bundle\AccountBundle\Service\RegisterService-\>register(Object(Shopware\Bundle\StoreFrontBundle\Struct\Shop), Object(Shopware\Models\Customer\Customer), Object(Shopware\Models\Customer\Address), NULL)  
#5 /www/htdocs/w0137ff5/shop/engine/Library/Enlight/Controller/Action.php(192): Shopware\_Controllers\_Frontend\_Register-\>saveRegisterAction()  
#6 /www/htdocs/w0137ff5/shop/engine/Library/Enlight/Controller/Dispatcher/Default.php(563): Enlight\_Controller\_Action-\>dispatch(‚saveRegisterAct…‘)  
#7 /www/htdocs/w0137ff5/shop/engine/Library/Enlight/Controller/Front.php(222): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp))  
#8 /www/htdocs/w0137ff5/shop/engine/Shopware/Kernel.php(202): Enlight\_Controller\_Front-\>dispatch()  
#9 /www/htdocs/w0137ff5/shop/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
#10 /www/htdocs/w0137ff5/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(448): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true)  
#11 /www/htdocs/w0137ff5/shop/engine/Shopware/Components/HttpCache/AppCache.php(260): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)  
#12 /www/htdocs/w0137ff5/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(238): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true)  
#13 /www/htdocs/w0137ff5/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true)  
#14 /www/htdocs/w0137ff5/shop/engine/Shopware/Components/HttpCache/AppCache.php(142): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true)  
#15 /www/htdocs/w0137ff5/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(181): Shopware\Components\HttpCache\AppCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true)  
#16 /www/htdocs/w0137ff5/shop/engine/Shopware/Components/HttpCache/AppCache.php(116): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
#17 /www/htdocs/w0137ff5/shop/shopware.php(122): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request))  
#18 {main}

Time:

2022-01-18T18:48:11.424816+0100

Channel:

core

request:

{  
„uri“: „/register/saveRegister/sTarget/account/sTargetAction/index“,  
„method“: „POST“,  
„query“: {  
„module“: „frontend“,  
„controller“: „register“,  
„action“: „saveRegister“,  
„sTarget“: „account“,  
„sTargetAction“: „index“  
},  
„post“: {  
„register“: {  
„personal“: {  
„customer\_type“: „private“,  
„salutation“: „mr“,  
„firstname“: „Max“,  
„lastname“: „Mustermann“,  
„accountmode“: „0“,  
„email“: „maxie.mustermann@xxxx“,  
„emailConfirmation“: „maxie.mustermann@xxxx“,  
„phone“: „“,  
„dpacheckbox“: „1“  
},  
„billing“: {  
„country“: „2“,  
„zipcode“: „0000“,  
„city“: „Muster“,  
„additionalAddressLine1“: „“,  
„street“: „Musterweg 10“  
},  
„shipping“: {  
„company“: „“,  
„department“: „“,  
„firstname“: „“,  
„lastname“: „“,  
„zipcode“: „“,  
„city“: „“,  
„additionalAddressLine1“: „“,  
„street“: „“  
}  
},  
„ziplookupurl“: „/widgets/ZipcodeLookup/lookup“,  
„first\_name\_confirmation“: „“,  
„captchaName“: „honeypot“,  
„Submit“: „“,  
„\_\_csrf\_token“: „uNatHNup4K1dMBBlCIJZacKiM6uSA6“  
}  
}

session:

No session data available

shopId:

1

shopName:
