# 500 Internal Server Error when sending email

**URL:** <https://forum.mautic.org/t/500-internal-server-error-when-sending-email/15814>\
**Category:** Product Support\
**Created:** [August 26, 2020, 4:52am UTC](https://forum.mautic.org/t/500-internal-server-error-when-sending-email/15814 "2020-08-26T04:52:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![arnold.sigik](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/arnold.sigik/32/691_2.png) [@arnold.sigik](https://forum.mautic.org/u/arnold.sigik)\
**Post date:** [August 26, 2020, 4:52am UTC](https://forum.mautic.org/t/500-internal-server-error-when-sending-email/15814/1 "2020-08-26T04:52:52Z")

</div>

**Your software**  
My Mautic version is: 3  
My PHP version is: PHP 7.3

**Your problem**  
My problem is: 500 Internal Server Error when sending email, preview email template, sending test email from email configuration (using amazon). Anything with sending email, I would get this 500 Internal Server Error.

Before, it works just fine. This happens only after I installed the [https://github.com/ChrisRAoW/mautic-rss-to-email-bundle/](https://github.com/ChrisRAoW/mautic-rss-to-email-bundle/)

When I managed to get it to work, the plugin, I can’t send out any email.  
Yes, clear the cache already.

**These errors are showing in the log:**

[26-Aug-2020 02:17:23 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 372736 bytes) in /home/mofobi/public\_html/mautic/vendor/symfony/translation/Translator.php on line 349  
[26-Aug-2020 02:19:52 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 495616 bytes) in /home/mofobi/public\_html/mautic/vendor/symfony/translation/Translator.php on line 349  
[26-Aug-2020 02:44:42 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 327680 bytes) in /home/mofobi/public\_html/mautic/vendor/symfony/translation/MessageCatalogue.php on line 134

But I assume this is coming from when I was installing the rss plugin.

**Steps I have tried to fix the problem:**  
Google this?

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [August 26, 2020, 6:08am UTC](https://forum.mautic.org/t/500-internal-server-error-when-sending-email/15814/2 "2020-08-26T06:08:14Z")

</div>

Probably seems like you have an issue with your memory allocation and/or the plugin.

Take a look at:

> **[Working with php.ini resource limits](https://docs.mautic.org/en/troubleshooting/working-with-php-ini-resource-limits)**
>
> . You may come across limitations with your server configuration when installing or using Mautic. These commonly manifest as errors such as:. The Uploaded file exceeds the uploadmaxfilesize directive. . Maximum execution time of 30 seconds exceeded...

Otherwise please reach out to the plugin author 🙂

---

<div class="post-metadata">

**Author:** ![arnold.sigik](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/arnold.sigik/32/691_2.png) [@arnold.sigik](https://forum.mautic.org/u/arnold.sigik)\
**Post date:** [August 26, 2020, 7:28am UTC](https://forum.mautic.org/t/500-internal-server-error-when-sending-email/15814/3 "2020-08-26T07:28:53Z")

</div>

Yeah, the plugin author has not got back to me yet. I posted this issue here, who knows someone might answer this quicker.

Upon further investigation, here is the error I saw…

[2020-08-26 01:27:33] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: “Type error: Too few arguments to function Mautic\CoreBundle\EventListener\CommonStatsSubscriber::\_\_construct(), 0 passed in /home/mofobi/public\_html/mautic/var/cache/prod/ContainerMp5stti/appProdProjectContainer.php on line 7584 and exactly 2 expected” at /home/mofobi/public\_html/mautic/app/bundles/CoreBundle/EventListener/CommonStatsSubscriber.php line 49 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Type error: Too few arguments to function Mautic\CoreBundle\EventListener\CommonStatsSubscriber::\_\_construct(), 0 passed in /home/mofobi/public\_html/mautic/var/cache/prod/ContainerMp5stti/appProdProjectContainer.php on line 7584 and exactly 2 expected at /home/mofobi/public\_html/mautic/app/bundles/CoreBundle/EventListener/CommonStatsSubscriber.php:49)"}

---

<div class="post-metadata">

**Author:** ![devsrealm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/devsrealm/32/3669_2.png) [@devsrealm](https://forum.mautic.org/u/devsrealm)\
**Post date:** [August 26, 2020, 11:05am UTC](https://forum.mautic.org/t/500-internal-server-error-when-sending-email/15814/4 "2020-08-26T11:05:55Z")

</div>

The plugin doesn’t support mautic v3, so, it is a good idea you remove it for now.
