# can't create email

**URL:** <https://forum.mautic.org/t/cant-create-email/4562>\
**Category:** General Discussion\
**Created:** [July 20, 2016, 8:48am UTC](https://forum.mautic.org/t/cant-create-email/4562 "2016-07-20T08:48:08Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![gina](https://avatars.discourse-cdn.com/v4/letter/g/58956e/32.png) [@gina](https://forum.mautic.org/u/gina)\
**Post date:** [July 20, 2016, 8:48am UTC](https://forum.mautic.org/t/cant-create-email/4562/1 "2016-07-20T08:48:08Z")

</div>

Hi,  
  
  
  
I reinstalled the new Mautic 2.0 and updated all the crob job,  
  
when checking the email function, found out it’s not working even I click to the button “NEW” , do anyone has same experience?

---

<div class="post-metadata">

**Author:** ![gina](https://avatars.discourse-cdn.com/v4/letter/g/58956e/32.png) [@gina](https://forum.mautic.org/u/gina)\
**Post date:** [July 20, 2016, 8:48am UTC](https://forum.mautic.org/t/cant-create-email/4562/2 "2016-07-20T08:48:08Z")

</div>

Hi,

I reinstalled the new Mautic 2.0 and updated all the crob job,  
when checking the email function, found out it’s not working even I click to the button “NEW” , do anyone has same experience?

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [July 20, 2016, 9:45am UTC](https://forum.mautic.org/t/cant-create-email/4562/3 "2016-07-20T09:45:22Z")

</div>

Hi, make sure you use latest 2.0.1 (contains bugfixes), clear the Mautic cache and also refresh the browser. If the problem will be there still, check the Mautic logs if there is some clue about what it could be.

---

<div class="post-metadata">

**Author:** ![gina](https://avatars.discourse-cdn.com/v4/letter/g/58956e/32.png) [@gina](https://forum.mautic.org/u/gina)\
**Post date:** [July 25, 2016, 8:51am UTC](https://forum.mautic.org/t/cant-create-email/4562/4 "2016-07-25T08:51:22Z")

</div>

I found this in the log

[2016-07-20 09:10:52] mautic.ERROR: Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 288529791206825984 bytes) - in file /home/_/public\_html/mautic/app/bundles/EmailBundle/Views/FormTheme/Config/monitored\_email\_widget.html.php - at line 14 [] []  
[2016-07-20 09:12:23] mautic.ERROR: Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 65865960 bytes) - in file /home/_/public\_html/mautic/app/bundles/CoreBundle/IpLookup/AbstractLocalDataLookup.php - at line 85 [] []  
[2016-07-20 09:12:26] mautic.ERROR: Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 70080841 bytes) - in file /home/_/public\_html/mautic/app/bundles/CoreBundle/IpLookup/AbstractLocalDataLookup.php - at line 85 [] []  
[2016-07-20 09:16:29] mautic.ERROR: Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 288529791206825984 bytes) - in file /home/_/public\_html/mautic/app/bundles/EmailBundle/Views/FormTheme/Config/monitored\_email\_widget.html.php - at line 14 [] []  
[2016-07-20 09:25:26] mautic.ERROR: Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 288529791206825984 bytes) - in file /home/\*/public\_html/mautic/app/bundles/EmailBundle/Views/FormTheme/Config/monitored\_email\_widget.html.php - at line 14 [] []

what i can do with this?

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [July 25, 2016, 9:12am UTC](https://forum.mautic.org/t/cant-create-email/4562/5 "2016-07-25T09:12:21Z")

</div>

Contact your server admin to raise the memory\_limit to at least 256MB.

---

<div class="post-metadata">

**Author:** ![gina](https://avatars.discourse-cdn.com/v4/letter/g/58956e/32.png) [@gina](https://forum.mautic.org/u/gina)\
**Post date:** [July 25, 2016, 10:19am UTC](https://forum.mautic.org/t/cant-create-email/4562/6 "2016-07-25T10:19:48Z")

</div>

Thanks, but I not really get it with the “server admin”, is it mean I need to contact with my hosting livechat to increase the limit or I can just adjust from my hosting?

Thank you.

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [July 25, 2016, 11:10am UTC](https://forum.mautic.org/t/cant-create-email/4562/7 "2016-07-25T11:10:31Z")

</div>

I don’t know who your server provider is and if I did, I don’t know how they do it. So ask someone who knows how to increase it. Hosting livechat sounds like a good way where to start.

---

<div class="post-metadata">

**Author:** ![gina](https://avatars.discourse-cdn.com/v4/letter/g/58956e/32.png) [@gina](https://forum.mautic.org/u/gina)\
**Post date:** [July 26, 2016, 3:22am UTC](https://forum.mautic.org/t/cant-create-email/4562/8 "2016-07-26T03:22:20Z")

</div>

after i increase the memory limit, I have the error message with

Fatal error: Uncaught TypeError: Argument 6 passed to SymfonyComponentHttpFoundationRequest::createRequestFromFactory() must be of the type array, null given, called in /home/bestcas3/public\_html/mautic/app/bootstrap.php.cache on line 503 and defined in /home/bestcas3/public\_html/mautic/app/bootstrap.php.cache:1305 Stack trace: #0 /home/bestcas3/public\_html/mautic/app/bootstrap.php.cache(503): SymfonyComponentHttpFoundationRequest::createRequestFromFactory(Array, Array, Array, Array, Array, NULL) #1 /home/bestcas3/public\_html/mautic/vendor/stack/run/src/Stack/run.php(11): SymfonyComponentHttpFoundationRequest::createFromGlobals() #2 /home/bestcas3/public\_html/mautic/index.php(30): Stackrun(Object(StackStackedHttpKernel)) #3 {main} thrown in /home/bestcas3/public\_html/mautic/app/bootstrap.php.cache on line 1305

I am using siteground for hosting, can you help? thanks.

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [July 26, 2016, 6:35am UTC](https://forum.mautic.org/t/cant-create-email/4562/9 "2016-07-26T06:35:24Z")

</div>

Try to clear Mautic cache by removing the app/cache/prod directory.

---

<div class="post-metadata">

**Author:** ![gina](https://avatars.discourse-cdn.com/v4/letter/g/58956e/32.png) [@gina](https://forum.mautic.org/u/gina)\
**Post date:** [July 26, 2016, 9:37am UTC](https://forum.mautic.org/t/cant-create-email/4562/10 "2016-07-26T09:37:09Z")

</div>

Hi already did but error message is still there.

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [July 26, 2016, 9:38am UTC](https://forum.mautic.org/t/cant-create-email/4562/11 "2016-07-26T09:38:48Z")

</div>

Could you provide the steps to replicate this error?

---

<div class="post-metadata">

**Author:** ![gina](https://avatars.discourse-cdn.com/v4/letter/g/58956e/32.png) [@gina](https://forum.mautic.org/u/gina)\
**Post date:** [July 26, 2016, 10:09am UTC](https://forum.mautic.org/t/cant-create-email/4562/12 "2016-07-26T10:09:45Z")

</div>

first, I found out the emails page is not working, and there is error as showing above.  
2nd, change to memory\_limit to at least 256MB.  
3rd, got the error message at bootstrap.php as showing above

now even can’t login the site.

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [July 26, 2016, 10:17am UTC](https://forum.mautic.org/t/cant-create-email/4562/13 "2016-07-26T10:17:15Z")

</div>

Ok, I needed to know when the error is triggered. So it’s on every page load.

It does seem like a cache issue. If you can perform a CLI commands, what is output of

```auto
/path_to_mautic/app/console cache:clear
```

command?

Also, make sure the file permission and the folder owner is OK and Mautic can generate the new cache. Do not execute any Mautic commands as the root.

---

<div class="post-metadata">

**Author:** ![gina](https://avatars.discourse-cdn.com/v4/letter/g/58956e/32.png) [@gina](https://forum.mautic.org/u/gina)\
**Post date:** [July 27, 2016, 1:49am UTC](https://forum.mautic.org/t/cant-create-email/4562/14 "2016-07-27T01:49:19Z")

</div>

I am not a programmer, do you mind to give me a hand? I have get you the access. many thanks!
