# Fehler bei Accounterstellung Version 5.3.6 (Update nicht möglich)

**URL:** <https://forum.shopware.com/t/fehler-bei-accounterstellung-version-5-3-6-update-nicht-moeglich/95338>\
**Category:** Allgemein\
**Created:** [18. Juli 2022 um 10:25 UTC](https://forum.shopware.com/t/fehler-bei-accounterstellung-version-5-3-6-update-nicht-moeglich/95338 "2022-07-18T10:25:05Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![styleframes24](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@styleframes24](https://forum.shopware.com/u/styleframes24)\
**Post date:** [18. Juli 2022 um 10:25 UTC](https://forum.shopware.com/t/fehler-bei-accounterstellung-version-5-3-6-update-nicht-moeglich/95338/1 "2022-07-18T10:25:05Z")

</div>

Hallo Alle,

ich bekomme neuerdings folgende Fehlermeldung, wenn ein neues Kundenkonto erstellt werden soll:

## Ups! An error has occurred!

The following hints should help you.

### DateTime::\_\_construct(): Failed to parse time string (NULL) at position 0 (N): The timezone could not be found in the database in var/cache/production\_201801091713/doctrine/attributes/Customer.php on line 193

### Stack trace:

#0 var/cache/production\_201801091713/doctrine/attributes/Customer.php(193): DateTime-\>\_\_construct(‚NULL‘) #1 vendor/symfony/form/Extension/Core/Type/FormType.php(136): Shopware\Models\Attribute\Customer-\>\_\_construct() #2 vendor/symfony/form/Form.php(617): Symfony\Component\Form\Extension\Core\Type\FormType-\>Symfony\Component\Form\Extension\Core\Type{closure}(Object(Symfony\Component\Form\Form), NULL) #3 vendor/symfony/form/Form.php(577): Symfony\Component\Form\Form-\>submit(NULL, true) #4 engine/Shopware/Controllers/Frontend/Register.php(465): Symfony\Component\Form\Form-\>submit(Array) #5 engine/Shopware/Controllers/Frontend/Register.php(112): Shopware\_Controllers\_Frontend\_Register-\>createCustomerForm(Array) #6 engine/Library/Enlight/Controller/Action.php(159): Shopware\_Controllers\_Frontend\_Register-\>saveRegisterAction() #7 engine/Library/Enlight/Controller/Dispatcher/Default.php(530): Enlight\_Controller\_Action-\>dispatch(‚saveRegisterAct…‘) #8 engine/Library/Enlight/Controller/Front.php(223): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(SwagCookieConsentManager\Services\EnlightResponseCookieModified)) #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(251): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #13 vendor/symfony/http-kernel/HttpCache/HttpCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true) #14 engine/Shopware/Components/HttpCache/AppCache.php(143): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true) #15 vendor/symfony/http-kernel/HttpCache/HttpCache.php(199): Shopware\Components\HttpCache\AppCache-\>invalidate(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 shopware.php(118): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #18 {main}

Woran kann das liegen? Kann man das an der Fehlermeldung sehen?  
Einer eine Idee??

LG, Daniel

---

<div class="post-metadata">

**Author:** ![SmartStylez](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SmartStylez](https://forum.shopware.com/u/SmartStylez)\
**Post date:** [18. Juli 2022 um 10:54 UTC](https://forum.shopware.com/t/fehler-bei-accounterstellung-version-5-3-6-update-nicht-moeglich/95338/2 "2022-07-18T10:54:04Z")

</div>

Lösch’ mal den angegebenen Cache-Ordner oder benenne ihn um, dann sollte ein neuer erstellt werden. Schau’ anschließend mal, ob der Fehler weiterhin auftritt.

---

<div class="post-metadata">

**Author:** ![styleframes24](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@styleframes24](https://forum.shopware.com/u/styleframes24)\
**Post date:** [18. Juli 2022 um 11:20 UTC](https://forum.shopware.com/t/fehler-bei-accounterstellung-version-5-3-6-update-nicht-moeglich/95338/3 "2022-07-18T11:20:37Z")

</div>

Cache-Ordner gelöscht. Leider tritt der Fehler weiterhin auf.

---

<div class="post-metadata">

**Author:** ![SmartStylez](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SmartStylez](https://forum.shopware.com/u/SmartStylez)\
**Post date:** [18. Juli 2022 um 11:23 UTC](https://forum.shopware.com/t/fehler-bei-accounterstellung-version-5-3-6-update-nicht-moeglich/95338/4 "2022-07-18T11:23:30Z")

</div>

Welche Meldung erhältst du jetzt?

---

<div class="post-metadata">

**Author:** ![styleframes24](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@styleframes24](https://forum.shopware.com/u/styleframes24)\
**Post date:** [18. Juli 2022 um 11:39 UTC](https://forum.shopware.com/t/fehler-bei-accounterstellung-version-5-3-6-update-nicht-moeglich/95338/5 "2022-07-18T11:39:54Z")

</div>

exception ‚Exception‘ with message ‚DateTime::\_\_construct(): Failed to parse time string (NULL) at position 0 (N): The timezone could not be found in the database‘ in /www/htdocs/w01134ed/shopware/var/cache/production\_201801091713/doctrine/attributes/Customer.php:193

Stack trace:

#0 /www/htdocs/w01134ed/shopware/var/cache/production\_201801091713/doctrine/attributes/Customer.php(193): DateTime-\>\_\_construct(‚NULL‘)

#1 /www/htdocs/w01134ed/shopware/vendor/symfony/form/Extension/Core/Type/FormType.php(136): Shopware\Models\Attribute\Customer-\>\_\_construct()

#2 /www/htdocs/w01134ed/shopware/vendor/symfony/form/Form.php(617): Symfony\Component\Form\Extension\Core\Type\FormType-\>Symfony\Component\Form\Extension\Core\Type{closure}(Object(Symfony\Component\Form\Form), NULL)

#3 /www/htdocs/w01134ed/shopware/vendor/symfony/form/Form.php(577): Symfony\Component\Form\Form-\>submit(NULL, true)

#4 /www/htdocs/w01134ed/shopware/engine/Shopware/Controllers/Frontend/Register.php(465): Symfony\Component\Form\Form-\>submit(Array)

#5 /www/htdocs/w01134ed/shopware/engine/Shopware/Controllers/Frontend/Register.php(112): Shopware\_Controllers\_Frontend\_Register-\>createCustomerForm(Array)

#6 /www/htdocs/w01134ed/shopware/engine/Library/Enlight/Controller/Action.php(159): Shopware\_Controllers\_Frontend\_Register-\>saveRegisterAction()

#7 /www/htdocs/w01134ed/shopware/engine/Library/Enlight/Controller/Dispatcher/Default.php(530): Enlight\_Controller\_Action-\>dispatch(‚saveRegisterAct…‘)

#8 /www/htdocs/w01134ed/shopware/engine/Library/Enlight/Controller/Front.php(223): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(SwagCookieConsentManager\Services\EnlightResponseCookieModified))

#9 /www/htdocs/w01134ed/shopware/engine/Shopware/Kernel.php(191): Enlight\_Controller\_Front-\>dispatch()

#10 /www/htdocs/w01134ed/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(484): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)

#11 /www/htdocs/w01134ed/shopware/engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)

#12 /www/htdocs/w01134ed/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(251): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true)

#13 /www/htdocs/w01134ed/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true)

#14 /www/htdocs/w01134ed/shopware/engine/Shopware/Components/HttpCache/AppCache.php(143): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true)

#15 /www/htdocs/w01134ed/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(199): Shopware\Components\HttpCache\AppCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true)

#16 /www/htdocs/w01134ed/shopware/engine/Shopware/Components/HttpCache/AppCache.php(116): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)

#17 /www/htdocs/w01134ed/shopware/shopware.php(118): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request))

#18 {main}

---

<div class="post-metadata">

**Author:** ![SmartStylez](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SmartStylez](https://forum.shopware.com/u/SmartStylez)\
**Post date:** [18. Juli 2022 um 11:53 UTC](https://forum.shopware.com/t/fehler-bei-accounterstellung-version-5-3-6-update-nicht-moeglich/95338/6 "2022-07-18T11:53:19Z")

</div>

Ich habe gerade mal in einigen Beiträgen quergelesen und einige User scheinen diese Fehlermeldung in Verbindung mit einzelnen Plugins zu haben. Kannst du dies ausschließen?

---

<div class="post-metadata">

**Author:** ![styleframes24](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@styleframes24](https://forum.shopware.com/u/styleframes24)\
**Post date:** [18. Juli 2022 um 12:11 UTC](https://forum.shopware.com/t/fehler-bei-accounterstellung-version-5-3-6-update-nicht-moeglich/95338/7 "2022-07-18T12:11:18Z")

</div>

Payone kann ich ausschließen… dann muss ich wohl mal das Ausschlussprinzip anwenden und alle Plugins deaktivieren. Danke für die Hilfe. 🙂

---

<div class="post-metadata">

**Author:** ![SmartStylez](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SmartStylez](https://forum.shopware.com/u/SmartStylez)\
**Post date:** [18. Juli 2022 um 12:12 UTC](https://forum.shopware.com/t/fehler-bei-accounterstellung-version-5-3-6-update-nicht-moeglich/95338/8 "2022-07-18T12:12:27Z")

</div>

Einfach mal kurz den Sicherheitsmodus bei den Plugins einschalten.

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [18. Juli 2022 um 12:14 UTC](https://forum.shopware.com/t/fehler-bei-accounterstellung-version-5-3-6-update-nicht-moeglich/95338/9 "2022-07-18T12:14:04Z")

</div>

Unabhängig der Fehler würde ich drigend Überlegungen treffen, den Shop zu aktualisieren. Das wird euch früher oder später alles auf die Füße fallen.

---

<div class="post-metadata">

**Author:** ![styleframes24](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@styleframes24](https://forum.shopware.com/u/styleframes24)\
**Post date:** [19. Juli 2022 um 04:24 UTC](https://forum.shopware.com/t/fehler-bei-accounterstellung-version-5-3-6-update-nicht-moeglich/95338/10 "2022-07-19T04:24:45Z")

</div>

Leider ist das aktuell nicht möglich, da ein elementares Plugin nicht mehr für höhere Versionen gibt.  
In 2023 ist aber der Umstieg auf SW6 geplant.

---

<div class="post-metadata">

**Author:** ![SmartStylez](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SmartStylez](https://forum.shopware.com/u/SmartStylez)\
**Post date:** [19. Juli 2022 um 06:43 UTC](https://forum.shopware.com/t/fehler-bei-accounterstellung-version-5-3-6-update-nicht-moeglich/95338/11 "2022-07-19T06:43:14Z")

</div>

Bist du denn mit deinem Problem weitergekommen? Mir ist noch aufgefallen, dass bei deiner zweiten Fehlermeldung immer noch der gleiche Cache-Ordner angegeben ist, bist du sicher, dass du „production\_201801091713“ umbenannt hast?

---

<div class="post-metadata">

**Author:** ![styleframes24](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@styleframes24](https://forum.shopware.com/u/styleframes24)\
**Post date:** [19. Juli 2022 um 07:04 UTC](https://forum.shopware.com/t/fehler-bei-accounterstellung-version-5-3-6-update-nicht-moeglich/95338/12 "2022-07-19T07:04:17Z")

</div>

ich hatte diesen gelöscht… wurde dann neu erstellt.

---

<div class="post-metadata">

**Author:** ![SmartStylez](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SmartStylez](https://forum.shopware.com/u/SmartStylez)\
**Post date:** [19. Juli 2022 um 07:07 UTC](https://forum.shopware.com/t/fehler-bei-accounterstellung-version-5-3-6-update-nicht-moeglich/95338/13 "2022-07-19T07:07:53Z")

</div>

Ah, okay, das kann sein. Was die Plugins betrifft, konntest du keins ausschließen?

---

<div class="post-metadata">

**Author:** ![styleframes24](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@styleframes24](https://forum.shopware.com/u/styleframes24)\
**Post date:** [19. Juli 2022 um 07:14 UTC](https://forum.shopware.com/t/fehler-bei-accounterstellung-version-5-3-6-update-nicht-moeglich/95338/14 "2022-07-19T07:14:26Z")

</div>

kann ich leider erst heute Abend testen, da ich noch Termin habe ☹

---

<div class="post-metadata">

**Author:** ![styleframes24](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@styleframes24](https://forum.shopware.com/u/styleframes24)\
**Post date:** [21. Juli 2022 um 19:09 UTC](https://forum.shopware.com/t/fehler-bei-accounterstellung-version-5-3-6-update-nicht-moeglich/95338/15 "2022-07-21T19:09:28Z")

</div>

So, alle fremden Plugins deaktiviert. Leider tritt der Fehler immer noch auf.  
☹  
Selbst, wenn ich einen Kunden manuell im Backend anlegen möchte, kommt der Fehler.  
Es wird zwar ein Kunde angelegt, aber die Standard-Rechnungsadresse und Standard-Lieferadresse sind komplett leer. Wenn ich dann über „Hinzufügen“ im Reiter Adressen eine Rechnungsadresse anlegen möchte, kommt der besagte Timezone-Fehler. Es wird keine Adresse angelegt, weder im Backend, noch in der DB.

---

<div class="post-metadata">

**Author:** ![styleframes24](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@styleframes24](https://forum.shopware.com/u/styleframes24)\
**Post date:** [29. Juli 2022 um 10:07 UTC](https://forum.shopware.com/t/fehler-bei-accounterstellung-version-5-3-6-update-nicht-moeglich/95338/16 "2022-07-29T10:07:13Z")

</div>

Noch jemand eine Idee??

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [29. Juli 2022 um 10:11 UTC](https://forum.shopware.com/t/fehler-bei-accounterstellung-version-5-3-6-update-nicht-moeglich/95338/17 "2022-07-29T10:11:31Z")

</div>

> [@styleframes24](#):
>
> The timezone could not be found in the database

Wie ganz oben ja deutsch ersichtlich, haut etwas mit der Zeitzone nicht hin. Also mal die Datenbank hinsichtlich darauf überrpüfen - ggf. Hoster fragen. Also das wäre jetzt mein Gedanke!

---

<div class="post-metadata">

**Author:** ![hendrik3](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/hendrik3/32/17975_2.png) [@hendrik3](https://forum.shopware.com/u/hendrik3)\
**Post date:** [17. August 2022 um 20:41 UTC](https://forum.shopware.com/t/fehler-bei-accounterstellung-version-5-3-6-update-nicht-moeglich/95338/18 "2022-08-17T20:41:12Z")

</div>

Ich hab’ mir das mal angesehen: Aus irgendeinem Grund werden die Freitextfelder im generierten Doctrine-Proxy innerhalb des `__construct` alle entweder mit `"NULL"`, `NULL` oder `new DateTime("NULL")` initialisiert. Letzteres knallt natürlich - allerdings kenne ich so ein Verhalten nicht. Keine Ahnung, woher das kommt.
