# Flow sendet keine Mails

**URL:** <https://forum.shopware.com/t/flow-sendet-keine-mails/101294>\
**Category:** Allgemein\
**Created:** [19. September 2023 um 07:20 UTC](https://forum.shopware.com/t/flow-sendet-keine-mails/101294 "2023-09-19T07:20:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![froschgift](https://avatars.discourse-cdn.com/v4/letter/f/ba8739/32.png) [@froschgift](https://forum.shopware.com/u/froschgift)\
**Post date:** [19. September 2023 um 07:20 UTC](https://forum.shopware.com/t/flow-sendet-keine-mails/101294/1 "2023-09-19T07:20:39Z")

</div>

Hallo,  
seit dem Update auf Shopware 6.5.X von 6.4 senden die Flows keine Mails mehr. Bekomme immer folgenden Fehler:

```auto
Could not execute flow with error message: Flow name: Customer requests new password Flow id: 83b83e88991b45959c3d833883b6c8db Call to undefined method Shopware\Core\Content\Flow\Events\FlowSendMailActionEvent::getFlowEvent() Error Code: 0 [] []

```

Auch wenn ich neue Flows anlege geht es nicht. Betrifft alle Flows die Mails senden. Newsletter, Passwort, Kontaktformular. Jemand ne Idee?

---

<div class="post-metadata">

**Author:** ![creoline](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/creoline/32/15592_2.png) [@creoline](https://forum.shopware.com/u/creoline)\
**Post date:** [23. September 2023 um 00:10 UTC](https://forum.shopware.com/t/flow-sendet-keine-mails/101294/2 "2023-09-23T00:10:33Z")

</div>

Das Problem hängt vermutlich damit zusammen, dass ein oder mehrere aktive Plugins nicht mit Shopware 6.5 kompatibel sind und weiterhin die deprecated „getFlowEvent“ Methode verwenden.

Die „getFlowEvent“ Methode wurde in Shopware 6.5 entfernt.  
(Quelle: [GitHub](https://github.com/shopware/platform/commit/d3b8019deb3aed2b28d0530abfcd4ef6c1deadbe#diff-144d910084e990cf8d410d544356f0994dbfdda11e5fa66e9c1a0ea66283fcafL107-L115))

Welche Plugins die veraltete getFlowEvent Methode verwenden, kann z.B. mithilfe von grep via SSH ermittelt werden:

```auto
grep -rn /var/www/shopware/custom/plugins/ -e '->getFlowEvent()'

```

Durch den SSH-Befehl werden alle Dateien mit dem vollständigen Pfad gelistet, welche die veraltete Methode verwenden. Anschließend kann das bzw. können die Plugins via bin/console plugin:deactivate oder über die Shopware Administration deaktiviert werden.

Ich hoffe, ich konnte damit weiterhelfen. 😊

Liebe Grüße  
Marius

[![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/7/7/7776dd118a9cf33ecbafd2b2e1cda5828898e421.png) ](https://www.creoline.com/?utm_source=shopware_forum_post)

---

<div class="post-metadata">

**Author:** ![froschgift](https://avatars.discourse-cdn.com/v4/letter/f/ba8739/32.png) [@froschgift](https://forum.shopware.com/u/froschgift)\
**Post date:** [7. Oktober 2023 um 07:59 UTC](https://forum.shopware.com/t/flow-sendet-keine-mails/101294/3 "2023-10-07T07:59:45Z")

</div>

Super! Das war es tatsächlich. Danke dir.
