# 500 Internal server error response when you click a link from email sent via mautic

**URL:** <https://forum.mautic.org/t/500-internal-server-error-response-when-you-click-a-link-from-email-sent-via-mautic/6114>\
**Category:** Product Support\
**Created:** [October 7, 2016, 2:52am UTC](https://forum.mautic.org/t/500-internal-server-error-response-when-you-click-a-link-from-email-sent-via-mautic/6114 "2016-10-07T02:52:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsumeguin](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@jsumeguin](https://forum.mautic.org/u/jsumeguin)\
**Post date:** [October 7, 2016, 2:52am UTC](https://forum.mautic.org/t/500-internal-server-error-response-when-you-click-a-link-from-email-sent-via-mautic/6114/1 "2016-10-07T02:52:47Z")

</div>

Hi escopecz, we just send an email to ourselves for testing and we are getting 500 internal server error upon clicking the link from the email. Here’s what i got in the logs.  
  
  
  
/var/www/mautic/app/logs/  
  
[2016-10-06 14:34:20] mautic.CRITICAL: Uncaught PHP Exception DoctrineORMORMException: “The EntityManager is closed.” at /var/www/mautic/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php line 129 {“exception”:"[object] (Doctrine\ORM\ORMException(code: 0): The EntityManager is closed. at /var/www/mautic/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php:129)"} []  
  
[2016-10-06 15:50:52] mautic.ERROR: Uncaught PHP Exception SymfonyComponentHttpKernelExceptionNotFoundHttpException: “Requested URL not found: /admin/config.php” at /var/www/mautic/app/bundles/CoreBundle/Controller/CommonController.php line 352 {“exception”:"[object] (Symfony\Component\HttpKernel\Exception\NotFoundHttpException(code: 0): Requested URL not found: /admin/config.php at /var/www/mautic/app/bundles/CoreBundle/Controller/CommonController.php:352)"} []  
  
  
  
if you need other information…please tell me

---

<div class="post-metadata">

**Author:** ![jsumeguin](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@jsumeguin](https://forum.mautic.org/u/jsumeguin)\
**Post date:** [October 7, 2016, 2:52am UTC](https://forum.mautic.org/t/500-internal-server-error-response-when-you-click-a-link-from-email-sent-via-mautic/6114/2 "2016-10-07T02:52:47Z")

</div>

Hi escopecz, we just send an email to ourselves for testing and we are getting 500 internal server error upon clicking the link from the email. Here’s what i got in the logs.

/var/www/mautic/app/logs/  
[2016-10-06 14:34:20] mautic.CRITICAL: Uncaught PHP Exception DoctrineORMORMException: “The EntityManager is closed.” at /var/www/mautic/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php line 129 {“exception”:"[object] (Doctrine\ORM\ORMException(code: 0): The EntityManager is closed. at /var/www/mautic/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php:129)"} []  
[2016-10-06 15:50:52] mautic.ERROR: Uncaught PHP Exception SymfonyComponentHttpKernelExceptionNotFoundHttpException: “Requested URL not found: /admin/config.php” at /var/www/mautic/app/bundles/CoreBundle/Controller/CommonController.php line 352 {“exception”:"[object] (Symfony\Component\HttpKernel\Exception\NotFoundHttpException(code: 0): Requested URL not found: /admin/config.php at /var/www/mautic/app/bundles/CoreBundle/Controller/CommonController.php:352)"} []

if you need other information…please tell me
