# Fehler object Promise: kein Testversand von E-Mail Vorlagen

**URL:** <https://forum.shopware.com/t/fehler-object-promise-kein-testversand-von-e-mail-vorlagen/91679>\
**Category:** Shopware 6 (German)\
**Created:** [26. November 2021 um 14:22 UTC](https://forum.shopware.com/t/fehler-object-promise-kein-testversand-von-e-mail-vorlagen/91679 "2021-11-26T14:22:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SMK](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/smk/32/13730_2.png) [@SMK](https://forum.shopware.com/u/SMK)\
**Post date:** [26. November 2021 um 14:22 UTC](https://forum.shopware.com/t/fehler-object-promise-kein-testversand-von-e-mail-vorlagen/91679/1 "2021-11-26T14:22:56Z")

</div>

Seit Monaten gehen bei mir die Mails für Newsletter-Anmeldung und Passwort-Reset nicht, Bestellbestätigung etc. geht.  
Habe die Mail-Templates schon mal gelöscht und alles neu gemacht im Flowbuilder ohne Erfolg.

Bei dem Versuch eine Testmail aus der Vorlage heraus zu senden kommt [object Promise];  
bei Bestellbestätigung usw. geht das problemlos.

Jemand eine Idee woran das liegt?

---

<div class="post-metadata">

**Author:** ![SMK](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/smk/32/13730_2.png) [@SMK](https://forum.shopware.com/u/SMK)\
**Post date:** [5. Dezember 2021 um 15:18 UTC](https://forum.shopware.com/t/fehler-object-promise-kein-testversand-von-e-mail-vorlagen/91679/2 "2021-12-05T15:18:13Z")

</div>

Update: hat noch jemand das Problem? Ich finde keine Ursache… ☹

---

<div class="post-metadata">

**Author:** ![tarkka.ch](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/tarkka.ch/32/13452_2.png) [@tarkka.ch](https://forum.shopware.com/u/tarkka.ch)\
**Post date:** [5. Dezember 2021 um 18:55 UTC](https://forum.shopware.com/t/fehler-object-promise-kein-testversand-von-e-mail-vorlagen/91679/3 "2021-12-05T18:55:56Z")

</div>

Mit diesen Infos kann man wohl nur eine Diagnose stellen: Du hast etwas vermurkst oder ein Plugin ist schuld.

Mal einen Blick in die Error-Logs geworfen?

---

<div class="post-metadata">

**Author:** ![SMK](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/smk/32/13730_2.png) [@SMK](https://forum.shopware.com/u/SMK)\
**Post date:** [7. Dezember 2021 um 17:13 UTC](https://forum.shopware.com/t/fehler-object-promise-kein-testversand-von-e-mail-vorlagen/91679/4 "2021-12-07T17:13:28Z")

</div>

Hallo,

danke für deine Antwort und Tipp!

Wenn ich im Mail-Template bin und auf Vorschau gehe, kommt der genannte Fehler.  
Versende ich eine Testmail, kommt dass erfolgreich versendet.  
Leider kenne ich mich nicht so toll aus, kann das nicht genau erkennen was falsch sein könnte.  
Letzter Eintrag nach dem Testversand habe ich gefunden unter httpdocs/var/log/prod-2021-12-07:

[2021-12-07T17:01:19.713169+00:00] request.ERROR: Uncaught PHP Exception Shopware\Core\Framework\Adapter\Twig\Exception\StringTemplateRenderingException: „Failed rendering string template using Twig: Unexpected token „punctuation“ of value „,“ („end of print statement“ expected) in „f1b585c02a06fa4ae18373abce991b01“ at line 1.“ at /var/www/vhosts/xn–craft-beer-city-mnchen-8lc.de/httpdocs/vendor/shopware/core/Framework/Adapter/Twig/StringTemplateRenderer.php line 67 {„exception“:"[object] (Shopware\Core\Framework\Adapter\Twig\Exception\StringTemplateRenderingException(code: 0): Failed rendering string template using Twig: Unexpected token „punctuation“ of value „,“ („end of print statement“ expected) in „f1b585c02a06fa4ae18373abce991b01“ at line 1. at /var/www/vhosts/xn–craft-beer-city-mnchen-8lc.de/httpdocs/vendor/shopware/core/Framework/Adapter/Twig/StringTemplateRenderer.php:67)"}
