Mautic Community Forums

Error 500 in email links

Hi all,

we are testing Mautic since a few days to support our marketing. All looks very cool and clear, great tool so far, but today when I tried to send a few testmails, I’ve run into some issues.



I have sent a mail to 10 test users, the mail includes a link to an external test site. When you click on that link, mautic opens and gives a “500 Internal Server Error” on https://.com/r/d4sdhs8738…



When I do the same on my logged in browser, it works and I am being redirected to the final URL.



Mautic logs gives

Code:
[2016-02-23 09:48:17] mautic.CRITICAL: Uncaught PHP Exception DoctrineORMORMException: "The EntityManager is closed." at /srv/XXXXXX/html/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php line 129 {"exception":"[object] (Doctrine\ORM\ORMException(code: 0): The EntityManager is closed. at /srv/XXXXXXX/html/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php:129)"} []

Can anyone tell me whats wrong ?

regards, Mart

I’m also having this problem. Lots of users upset about broken links…

Found this thread while googling this exact same problem. @mazab Were you able to fix it?

Hi all,
we are testing Mautic since a few days to support our marketing. All looks very cool and clear, great tool so far, but today when I tried to send a few testmails, I’ve run into some issues.

I have sent a mail to 10 test users, the mail includes a link to an external test site. When you click on that link, mautic opens and gives a “500 Internal Server Error” on https://.com/r/d4sdhs8738…

When I do the same on my logged in browser, it works and I am being redirected to the final URL.

Mautic logs gives

[2016-02-23 09:48:17] mautic.CRITICAL: Uncaught PHP Exception DoctrineORMORMException: "The EntityManager is closed." at /srv/XXXXXX/html/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php line 129 {"exception":"[object] (Doctrine\ORM\ORMException(code: 0): The EntityManager is closed. at /srv/XXXXXXX/html/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php:129)"} []

Can anyone tell me whats wrong ?

regards, Mart

i am also experiencing this problem. have you solved this mazab?

my problem is similar but the links in my emails all start with “http://localhost/r/…” and of course that won’t do.