# SW 5.6 Problem mit Email-Vorlagen

**URL:** https://forum.shopware.com/t/sw-5-6-problem-mit-email-vorlagen/61089
**Category:** Allgemein
**Created:** [14. August 2019 um 17:43 UTC](https://forum.shopware.com/t/sw-5-6-problem-mit-email-vorlagen/61089 "2019-08-14T17:43:26Z")
**Posts on this page:** 12
**Page:** 3

<div class="post-metadata">

### Author: ![sofoh](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@sofoh](https://forum.shopware.com/u/sofoh)
#### Post date: [23. Oktober 2019 um 17:13 UTC](https://forum.shopware.com/t/sw-5-6-problem-mit-email-vorlagen/61089/41 "2019-10-23T17:13:38Z")

</div>

Hallo zusammen!

Ich habe seit gestern nach einer Bestellung auch das Problem, dass keine Bestellbestätigungsmail versand wird. Verwende die 5.6.2. und keins der zuvor genannten Plugins.

Wie hier beschrieben habe ich in der Datenbank s\_core\_config\_mails bei sOrder im das context Feld auf NULL gesetzt indem ich den Hacken gesetzt habe bei context. Das hat aber das Problem nicht behoben.&nbsp;

Unter den Shopware System Infos sind folgende Dateien mit einem roten Kreuz bei Status makiert, aber vorhanden mit allen Rechten aktiv:

engine/Shopware/Models/Document/Order.php

themes/Frontend/Bare/frontend/account/order\_item\_details.tpl

Leider bekomme ich auch keine Fehlermeldungsmails gesandt, so dass ich hier nur den Code kopiert anzeigen kann aus der backend Fehleranzeige:

Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. Could not convert database value “” to Doctrine Type array in vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ConversionException.php on line 46 Stack trace: #0 vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ArrayType.php(60): Doctrine\DBAL\Types\ConversionException::conversionFailed(’’, ‘array’) #1 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php(315): Doctrine\DBAL\Types\ArrayType-\>convertToPHPValue(’’, Object(Doctrine\DBAL\Platforms\MySqlPlatform)) #2 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php(331): Doctrine\ORM\Internal\Hydration\AbstractHydrator-\>gatherRowData(Array, Array, Array) #3 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php(162): Doctrine\ORM\Internal\Hydration\ObjectHydrator-\>hydrateRowData(Array, Array) #4 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php(152): Doctrine\ORM\Internal\Hydration\ObjectHydrator-\>hydrateAllData() #5 engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(561): Doctrine\ORM\Internal\Hydration\AbstractHydrator-\>hydrateAll(Object(PDOStatement), Object(Doctrine\ORM\Query\ResultSetMapping), Array) #6 vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(181): Doctrine\ORM\Persisters\Entity\BasicEntityPersister-\>loadAll(Array, NULL, NULL, NULL) #7 vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(164): Doctrine\ORM\EntityRepository-\>findBy(Array) #8 engine/Shopware/Controllers/Backend/Mail.php(54): Doctrine\ORM\EntityRepository-\>findAll() #9 engine/Library/Enlight/Controller/Action.php(192): Shopware\_Controllers\_Backend\_Mail-\>getMailsAction() #10 engine/Library/Enlight/Controller/Dispatcher/Default.php(478): Enlight\_Controller\_Action-\>dispatch(‘getMailsAction’) #11 engine/Library/Enlight/Controller/Front.php(228): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #12 engine/Shopware/Kernel.php(185): Enlight\_Controller\_Front-\>dispatch() #13 vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #14 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 engine/Shopware/Components/HttpCache/AppCache.php(256): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #16 vendor/symfony/http-kernel/HttpCache/HttpCache.php(238): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #17 engine/Shopware/Components/HttpCache/AppCache.php(99): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true) #18 shopware.php(122): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #19 {main} &nbsp;

OK

&nbsp;

Was mache ich falsch? Danke für eure Hilfe!

---

<div class="post-metadata">

### Author: ![kveldscholten](https://avatars.discourse-cdn.com/v4/letter/k/9fc29f/32.png) [@kveldscholten](https://forum.shopware.com/u/kveldscholten)
#### Post date: [25. Oktober 2019 um 10:59 UTC](https://forum.shopware.com/t/sw-5-6-problem-mit-email-vorlagen/61089/42 "2019-10-25T10:59:27Z")

</div>

Bei uns waren es mehrere E-Mails von&nbsp;Heidelpay (prepaymentHeidelpay, invoiceSanHeidelpay, …) und die Standard&nbsp;sendDocument\* (sendDocumentGutschrift, sendDocumentStornorechnung, …)

Nach setzten der Spalte “context” auf NULL läuft wieder alles.

&nbsp;

Da der “context” wie [Moritz Naczenski](https://forum.shopware.com/profile/14574/Moritz%20Naczenski)&nbsp;wohl sagt nur für die Vorschau der E-Mail Vorlagen ist würde ich einfach mal ein Backup der Datenbank/Tabelle machen und sämtluche “context” auf NULL setzten.

&nbsp;

Mein SQL Verlauf auch wenn es euch vllt nicht weiterhilft 😉

```
UPDATE `s_core_config_mails` SET `context` = NULL WHERE `s_core_config_mails`.`id` = 2;
UPDATE `s_core_config_mails` SET `context` = NULL WHERE `s_core_config_mails`.`id` = 72;
UPDATE `s_core_config_mails` SET `context` = NULL WHERE `s_core_config_mails`.`id` = 74;
UPDATE `s_core_config_mails` SET `context` = NULL WHERE `s_core_config_mails`.`id` = 75;
UPDATE `s_core_config_mails` SET `context` = NULL WHERE `s_core_config_mails`.`id` = 77;
UPDATE `s_core_config_mails` SET `context` = NULL WHERE `s_core_config_mails`.`id` = 78;
UPDATE `s_core_config_mails` SET `context` = NULL WHERE `s_core_config_mails`.`id` = 82;
UPDATE `s_core_config_mails` SET `context` = NULL WHERE `s_core_config_mails`.`id` = 81;
UPDATE `s_core_config_mails` SET `context` = NULL WHERE `s_core_config_mails`.`id` = 80;
UPDATE `s_core_config_mails` SET `context` = NULL WHERE `s_core_config_mails`.`id` = 79;
UPDATE `s_core_config_mails` SET `context` = NULL WHERE `s_core_config_mails`.`id` = 84;
UPDATE `s_core_config_mails` SET `context` = NULL WHERE `s_core_config_mails`.`id` = 85;

```

&nbsp;

---

<div class="post-metadata">

### Author: ![shabby](https://avatars.discourse-cdn.com/v4/letter/s/a6a055/32.png) [@shabby](https://forum.shopware.com/u/shabby)
#### Post date: [27. Oktober 2019 um 16:09 UTC](https://forum.shopware.com/t/sw-5-6-problem-mit-email-vorlagen/61089/43 "2019-10-27T16:09:10Z")

</div>

Hallo!

Bei uns heute zum zweiten Mal das gleiche Problem. Es werden keine Bestellbestätigungsmails mehr versendet. Das ist nicht nur nervig für uns sondern auch für die Kunden. Gibt es da einen schnellen Fix?&nbsp;Das erste Mal war ein Eintrag von Heidelapy schuld. Jetzt war es etwas anderes in der sORDER&nbsp;und Tabelle: s\_core\_config\_mails. Context auf Null gesetzt. Problem besteht weiterhin. Fehlermeldung:

Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. **Could not convert database value „NULL“ t** o Doctrine Type array in vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ConversionException.php on line 46 Stack trace: #0 vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ArrayType.php(60): Doctrine\DBAL\Types\ConversionException::conversionFailed(‚NULL‘, ‚array‘) #1 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php(315): Doctrine\DBAL\Types\ArrayType-\>convertToPHPValue(‚NULL‘, Object(Doctrine\DBAL\Platforms\MySqlPlatform)) #2 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php(331): Doctrine\ORM\Internal\Hydration\AbstractHydrator-\>gatherRowData(Array, Array, Array) #3 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php(162): Doctrine\ORM\Internal\Hydration\ObjectHydrator-\>hydrateRowData(Array, Array) #4 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php(152): Doctrine\ORM\Internal\Hydration\ObjectHydrator-\>hydrateAllData() #5 engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(561): Doctrine\ORM\Internal\Hydration\AbstractHydrator-\>hydrateAll(Object(PDOStatement), Object(Doctrine\ORM\Query\ResultSetMapping), Array) #6 vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(181): Doctrine\ORM\Persisters\Entity\BasicEntityPersister-\>loadAll(Array, NULL, NULL, NULL) #7 vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(164): Doctrine\ORM\EntityRepository-\>findBy(Array) #8 engine/Shopware/Controllers/Backend/Mail.php(54): Doctrine\ORM\EntityRepository-\>findAll() #9 var/cache/production\_201909250854/proxies/ShopwareControllersBackendMailProxy.php(79): Shopware\_Controllers\_Backend\_Mail-\>getMailsAction() #10 engine/Library/Enlight/Hook/HookExecutionContext.php(137): Shopware\_Proxies\_ShopwareControllersBackendMailProxy-\>\_\_executeOriginalMethod(‚getMailsAction‘, Array) #11 engine/Library/Enlight/Hook/HookExecutionContext.php(103): Enlight\_Hook\_HookExecutionContext-\>executeReplaceChain(Array) #12 engine/Library/Enlight/Hook/HookManager.php(180): Enlight\_Hook\_HookExecutionContext-\>execute() #13 var/cache/production\_201909250854/proxies/ShopwareControllersBackendMailProxy.php(90): Enlight\_Hook\_HookManager-\>executeHooks(Object(Shopware\_Proxies\_ShopwareControllersBackendMailProxy), ‚getMailsAction‘, Array) #14 engine/Library/Enlight/Controller/Action.php(192): Shopware\_Proxies\_ShopwareControllersBackendMailProxy-\>getMailsAction() #15 engine/Library/Enlight/Controller/Dispatcher/Default.php(478): Enlight\_Controller\_Action-\>dispatch(‚getMailsAction‘) #16 engine/Library/Enlight/Controller/Front.php(228): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #17 engine/Shopware/Kernel.php(185): Enlight\_Controller\_Front-\>dispatch() #18 vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #19 vendor/symfony/http-kernel/HttpCache/HttpCache.php(448): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true) #20 engine/Shopware/Components/HttpCache/AppCache.php(256): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #21 vendor/symfony/http-kernel/HttpCache/HttpCache.php(238): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #22 engine/Shopware/Components/HttpCache/AppCache.php(99): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true) #23 shopware.php(122): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #24 {main} &nbsp;

[Moritz Naczenski](https://forum.shopware.com/profile/14574/Moritz%20Naczenski)

---

<div class="post-metadata">

### Author: ![sofoh](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@sofoh](https://forum.shopware.com/u/sofoh)
#### Post date: [28. Oktober 2019 um 18:03 UTC](https://forum.shopware.com/t/sw-5-6-problem-mit-email-vorlagen/61089/44 "2019-10-28T18:03:18Z")

</div>

> [@danischpur schrieb:](https://forum.shopware.com/profile/30830/danischpur "danischpur")
> 
> Laut zugehörigem&nbsp;Ticket (s.o.) wurde der Bug gefunden und behoben. Der Fix ist in der nächsten Version (5.6.3) dann auch drin. Hoffen wir die kommt bald.
> 
> Ärgerlich, dass so ein Fehler auftritt, aber auch prima, wie die Entwickler hier hinterher sind - vor allem wenn sich hier ein paar Leute mit dem Problem melden - Danke auch allen fürs melden und dem Support hier im Forum.&nbsp;

Leider komme ich mit den Tipps und Vorschlägen nicht weiter. Ich kann immer noch keine einzige mail verschicken, Bestellbestätigungsmails werden auch nicht versandt.

Bzw. sagt das System, dass es die mails verschickt hat, sie kommen aber nicht an.&nbsp;

Noch jemand eine Idee?&nbsp;&nbsp;[Moritz Naczenski](https://forum.shopware.com/profile/14574/Moritz%20Naczenski)&nbsp;&nbsp;

---

<div class="post-metadata">

### Author: ![nadjak](https://avatars.discourse-cdn.com/v4/letter/n/ec9cab/32.png) [@nadjak](https://forum.shopware.com/u/nadjak)
#### Post date: [29. Oktober 2019 um 10:28 UTC](https://forum.shopware.com/t/sw-5-6-problem-mit-email-vorlagen/61089/45 "2019-10-29T10:28:26Z")

</div>

Ich hab den Fehler auch.

In der Tabelle `s_core_config_mails` ist bei mir sowohl in der Spalte context als auch in der Spalte stateID keine 0.

Wie kann ich den Fehler sonst noch beheben?

DAnke und lg NAdja

---

<div class="post-metadata">

### Author: ![Murmeltier](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/murmeltier/32/16126_2.png) [@Murmeltier](https://forum.shopware.com/u/Murmeltier)
#### Post date: [29. Oktober 2019 um 12:22 UTC](https://forum.shopware.com/t/sw-5-6-problem-mit-email-vorlagen/61089/46 "2019-10-29T12:22:24Z")

</div>

```
s_core_config_mails SET `context`` = 'NULL'

```

![Wink](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/b3785da0cbf2c8566cb535dcf55b2730b5224899.png "Wink")

---

<div class="post-metadata">

### Author: ![Thorsten-R](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@Thorsten-R](https://forum.shopware.com/u/Thorsten-R)
#### Post date: [29. Oktober 2019 um 12:31 UTC](https://forum.shopware.com/t/sw-5-6-problem-mit-email-vorlagen/61089/47 "2019-10-29T12:31:50Z")

</div>

das problem hatte ich auch.

bei mir funktioniert der mail versand nicht mehr.

umgestellt auf SMTP mit einer anderen Emailadresse und läuft wieder.

das sind ggf. 2 verschiedene fehler.

bin auch mit löschen und null setzen nicht weitergekommen.

mail wurde augenscheinlich versand (keine Fehlermeldung)

landete sauber im mailcatcher aber wurde nicht aktiv versendet.

&nbsp;

> > [@danischpur schrieb:](https://forum.shopware.com/profile/30830/danischpur "danischpur")
> > 
> > Laut zugehörigem&nbsp;Ticket (s.o.) wurde der Bug gefunden und behoben. Der Fix ist in der nächsten Version (5.6.3) dann auch drin. Hoffen wir die kommt bald.
> > 
> > Ärgerlich, dass so ein Fehler auftritt, aber auch prima, wie die Entwickler hier hinterher sind - vor allem wenn sich hier ein paar Leute mit dem Problem melden - Danke auch allen fürs melden und dem Support hier im Forum.&nbsp;
> 
> Leider komme ich mit den Tipps und Vorschlägen nicht weiter. Ich kann immer noch keine einzige mail verschicken, Bestellbestätigungsmails werden auch nicht versandt.
> 
> Bzw. sagt das System, dass es die mails verschickt hat, sie kommen aber nicht an.&nbsp;
> 
> Noch jemand eine Idee?&nbsp;&nbsp;[Moritz Naczenski](https://forum.shopware.com/profile/14574/Moritz%20Naczenski)&nbsp;&nbsp;

---

<div class="post-metadata">

### Author: ![sofoh](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@sofoh](https://forum.shopware.com/u/sofoh)
#### Post date: [5. November 2019 um 16:38 UTC](https://forum.shopware.com/t/sw-5-6-problem-mit-email-vorlagen/61089/48 "2019-11-05T16:38:06Z")

</div>

Mail funktioniert wieder, aber ich kann immer noch nicht die email vorlagen aufrufen und bekomme folgende Fehlermeldung aus der ich nicht schlau werde:

Wer kann helfen? Vielen Dank!

Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. Could not convert database value „“ to Doctrine Type array in vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ConversionException.php on line 46 Stack trace: #0 vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ArrayType.php(60): Doctrine\DBAL\Types\ConversionException::conversionFailed(‚‘, ‚array‘) #1 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php(315): Doctrine\DBAL\Types\ArrayType-\>convertToPHPValue(‚‘, Object(Doctrine\DBAL\Platforms\MySqlPlatform)) #2 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php(331): Doctrine\ORM\Internal\Hydration\AbstractHydrator-\>gatherRowData(Array, Array, Array) #3 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php(162): Doctrine\ORM\Internal\Hydration\ObjectHydrator-\>hydrateRowData(Array, Array) #4 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php(152): Doctrine\ORM\Internal\Hydration\ObjectHydrator-\>hydrateAllData() #5 engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(561): Doctrine\ORM\Internal\Hydration\AbstractHydrator-\>hydrateAll(Object(PDOStatement), Object(Doctrine\ORM\Query\ResultSetMapping), Array) #6 vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(181): Doctrine\ORM\Persisters\Entity\BasicEntityPersister-\>loadAll(Array, NULL, NULL, NULL) #7 vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(164): Doctrine\ORM\EntityRepository-\>findBy(Array) #8 engine/Shopware/Controllers/Backend/Mail.php(54): Doctrine\ORM\EntityRepository-\>findAll() #9 engine/Library/Enlight/Controller/Action.php(192): Shopware\_Controllers\_Backend\_Mail-\>getMailsAction() #10 engine/Library/Enlight/Controller/Dispatcher/Default.php(478): Enlight\_Controller\_Action-\>dispatch(‚getMailsAction‘) #11 engine/Library/Enlight/Controller/Front.php(228): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #12 engine/Shopware/Kernel.php(185): Enlight\_Controller\_Front-\>dispatch() #13 vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #14 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 engine/Shopware/Components/HttpCache/AppCache.php(256): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #16 vendor/symfony/http-kernel/HttpCache/HttpCache.php(238): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #17 engine/Shopware/Components/HttpCache/AppCache.php(99): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true) #18 shopware.php(122): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #19 {main} &nbsp;

&nbsp;

&nbsp;

> [@Thorsten-R schrieb:](https://forum.shopware.com/profile/20826/Thorsten-R "Thorsten-R")
> 
> das problem hatte ich auch.
> 
> bei mir funktioniert der mail versand nicht mehr.
> 
> umgestellt auf SMTP mit einer anderen Emailadresse und läuft wieder.
> 
> das sind ggf. 2 verschiedene fehler.
> 
> bin auch mit löschen und null setzen nicht weitergekommen.
> 
> mail wurde augenscheinlich versand (keine Fehlermeldung)
> 
> landete sauber im mailcatcher aber wurde nicht aktiv versendet.
> 
> &nbsp;
> 
> > > [@danischpur schrieb:](https://forum.shopware.com/profile/30830/danischpur "danischpur")
> > > 
> > > Laut zugehörigem&nbsp;Ticket (s.o.) wurde der Bug gefunden und behoben. Der Fix ist in der nächsten Version (5.6.3) dann auch drin. Hoffen wir die kommt bald.
> > > 
> > > Ärgerlich, dass so ein Fehler auftritt, aber auch prima, wie die Entwickler hier hinterher sind - vor allem wenn sich hier ein paar Leute mit dem Problem melden - Danke auch allen fürs melden und dem Support hier im Forum.&nbsp;
> > 
> > Leider komme ich mit den Tipps und Vorschlägen nicht weiter. Ich kann immer noch keine einzige mail verschicken, Bestellbestätigungsmails werden auch nicht versandt.
> > 
> > Bzw. sagt das System, dass es die mails verschickt hat, sie kommen aber nicht an.&nbsp;
> > 
> > Noch jemand eine Idee?&nbsp;&nbsp;[Moritz Naczenski](https://forum.shopware.com/profile/14574/Moritz%20Naczenski)&nbsp;&nbsp;

---

<div class="post-metadata">

### Author: ![sofoh](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@sofoh](https://forum.shopware.com/u/sofoh)
#### Post date: [5. November 2019 um 18:00 UTC](https://forum.shopware.com/t/sw-5-6-problem-mit-email-vorlagen/61089/49 "2019-11-05T18:00:06Z")

</div>

> [@Moritz Naczenski schrieb:](https://forum.shopware.com/profile/14574/Moritz%20Naczenski "Moritz%20Naczenski")
> 
> Naja, irgendwo in der s\_core\_mail\_template (oder so ähnlich heißt die Tabelle) steht in der Spalte „context“ eine „0“. Die einmal rauslöschen und das Feld auf NULL setzen.

Hallo Moritz,&nbsp;

habe deinen Rat befolgt und in der Datenbank per Häckchen context auf Null gesetzt. Wenn ich nun im backend die Email Vorlagen aufrufen möchte bekomme ich folgende Fehlermeldung, die ich nicht verstehe:

Kannst du mir weiterhelfen? Vielen Dank!

Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. Could not convert database value „“ to Doctrine Type array in vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ConversionException.php on line 46 Stack trace: #0 vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ArrayType.php(60): Doctrine\DBAL\Types\ConversionException::conversionFailed(‚‘, ‚array‘) #1 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php(315): Doctrine\DBAL\Types\ArrayType-\>convertToPHPValue(‚‘, Object(Doctrine\DBAL\Platforms\MySqlPlatform)) #2 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php(331): Doctrine\ORM\Internal\Hydration\AbstractHydrator-\>gatherRowData(Array, Array, Array) #3 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php(162): Doctrine\ORM\Internal\Hydration\ObjectHydrator-\>hydrateRowData(Array, Array) #4 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php(152): Doctrine\ORM\Internal\Hydration\ObjectHydrator-\>hydrateAllData() #5 engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(561): Doctrine\ORM\Internal\Hydration\AbstractHydrator-\>hydrateAll(Object(PDOStatement), Object(Doctrine\ORM\Query\ResultSetMapping), Array) #6 vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(181): Doctrine\ORM\Persisters\Entity\BasicEntityPersister-\>loadAll(Array, NULL, NULL, NULL) #7 vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(164): Doctrine\ORM\EntityRepository-\>findBy(Array) #8 engine/Shopware/Controllers/Backend/Mail.php(54): Doctrine\ORM\EntityRepository-\>findAll() #9 engine/Library/Enlight/Controller/Action.php(192): Shopware\_Controllers\_Backend\_Mail-\>getMailsAction() #10 engine/Library/Enlight/Controller/Dispatcher/Default.php(478): Enlight\_Controller\_Action-\>dispatch(‚getMailsAction‘) #11 engine/Library/Enlight/Controller/Front.php(228): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #12 engine/Shopware/Kernel.php(185): Enlight\_Controller\_Front-\>dispatch() #13 vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #14 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 engine/Shopware/Components/HttpCache/AppCache.php(256): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #16 vendor/symfony/http-kernel/HttpCache/HttpCache.php(238): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #17 engine/Shopware/Components/HttpCache/AppCache.php(99): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true) #18 shopware.php(122): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #19 {main} &nbsp;

&nbsp;

&nbsp;

---

<div class="post-metadata">

### Author: ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)
#### Post date: [5. November 2019 um 18:51 UTC](https://forum.shopware.com/t/sw-5-6-problem-mit-email-vorlagen/61089/50 "2019-11-05T18:51:59Z")

</div>

Dann hast du das nicht überall gesetzt, irgendwo ist die Spalte leer und nicht „NULL“

---

<div class="post-metadata">

### Author: ![sofoh](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@sofoh](https://forum.shopware.com/u/sofoh)
#### Post date: [5. November 2019 um 19:30 UTC](https://forum.shopware.com/t/sw-5-6-problem-mit-email-vorlagen/61089/51 "2019-11-05T19:30:30Z")

</div>

> [@Moritz Naczenski schrieb:](https://forum.shopware.com/profile/14574/Moritz%20Naczenski "Moritz%20Naczenski")
> 
> Dann hast du das nicht überall gesetzt, irgendwo ist die Spalte leer und nicht „NULL“

Vielen vielen Dank Moritz! Danke, dass du so super schnell drauf geantwortet hast!

Das war’s. Tatsächlich war bei confirmpasswordchange kein Eintrag in der context Spalte. Mit Häckchen auf Null gesetzt, Cache geleert, Theme kompelliert, backend neu geladen und: voilà kann ich die email-Vorlagen wieder aufrufen!

&nbsp;

---

<div class="post-metadata">

### Author: ![b\_meyer](https://avatars.discourse-cdn.com/v4/letter/b/97f17d/32.png) [@b\_meyer](https://forum.shopware.com/u/b_meyer)
#### Post date: [25. November 2019 um 12:58 UTC](https://forum.shopware.com/t/sw-5-6-problem-mit-email-vorlagen/61089/52 "2019-11-25T12:58:18Z")

</div>

Hallo zusammen,  
wie hier bereist erwähnt wurde, soll das Problem mit Shopware 5.6.3 gelöst werden. Deshalb habe ich gerade bei Github nachgeschaut und den passenden Commit gefunden:&nbsp;[https://github.com/shopware/shopware/commit/4644a786c44eeebbc28ce3e905c082668fbf06cb](https://github.com/shopware/shopware/commit/4644a786c44eeebbc28ce3e905c082668fbf06cb)&nbsp;(vielen Dank an shyim für die „Korrektur“)  
Wer also wagemutig genug ist, den Code des Shopware-Kerns bis zum nächsten Update anzupassen, muss nur eine Zeile hinzufügen, um das Problem zu lösen, ohne dass es immer wiederkehren kann.

[Vorherige Seite](https://forum.shopware.com/t/sw-5-6-problem-mit-email-vorlagen/61089.md?page=2)
