Error when sending emails
-
I have email configured correctly and test emails work just fine.
However, when I go into an email I create in mautic and click on Send example I get an error message
In the logs, I get this message
Jun 14 19:12:03 [Sat Jun 15 01:12:03.571866 2024] [php:warn] [pid 436] [client 172.18.0.1:56436] PHP Warning: Undefined array key 1 in /app/code/app/bundles/EmailBundle/Helper/MailHelper.php on line 1818, referer: https://mautic.domain.com/s/emails/view/2
Jun 14 19:12:03 xxx.xxx.xxx.xxx - - [15/Jun/2024:01:12:03 +0000] "POST /s/emails/sendExample/2?mauticUserLastActive=20&mauticLastNotificationId= HTTP/1.1" 500 70079 "https://mautic.domain.com/s/emails/view/2" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0"
Jun 14 19:12:04 xxx.xxx.xxx.xxx - - [15/Jun/2024:01:12:04 +0000] "GET /media/js/libraries.js?va5e6c6f2&mauticUserLastActive=20&mauticLastNotificationId= HTTP/1.1" 200 517726 "https://mautic.domain.com/s/emails/view/2" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0" -
@privsec said in Error when sending emails:
Jun 14 19:12:03 [Sat Jun 15 01:12:03.571866 2024] [php:warn] [pid 436] [client 172.18.0.1:56436] PHP Warning: Undefined array key 1 in /app/code/app/bundles/EmailBundle/Helper/MailHelper.php on line 1818, referer: https://mautic.domain.com/s/emails/view/2
This does seem like some internal mautic code issue ("Undefined array key"). Which version of mautic is this? Atleast, it works here.