# I can't save the emails

**URL:** <https://forum.mautic.org/t/i-cant-save-the-emails/18956>\
**Category:** Mautic 3 - Install/Upgrade Support\
**Created:** [April 11, 2021, 5:48am UTC](https://forum.mautic.org/t/i-cant-save-the-emails/18956 "2021-04-11T05:48:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![freddy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/freddy/32/4923_2.png) [@freddy](https://forum.mautic.org/u/freddy)\
**Post date:** [April 11, 2021, 5:48am UTC](https://forum.mautic.org/t/i-cant-save-the-emails/18956/1 "2021-04-11T05:48:23Z")

</div>

My software v3.3.2  
My PHP version is\* : 7.3.27  
My MySQL/ 10.3.28-MariaDB-log-cll-lve

These errors are showing :  
Apr-2021 04:43:27 UTC] PHP Notice: Trying to access array offset on value of type null in /home/publsuys/public\_html/mautic/app/bundles/EmailBundle/Views/FormTheme/Email/\_emailform\_dynamicContent\_entry\_filters\_entry\_filters\_entry\_widget.html.php on line 14

In the log it shows this error:  
[2021-04-11 05:40:46] mautic.NOTICE: PHP Notice - date\_default\_timezone\_set(): Timezone ID ‘’ is invalid - in file /home/publsuys/public\_html/mautic/app/bundles/CoreBundle/EventListener/EnvironmentSubscriber.php - at line 58 {“event”:"[object] (Symfony\Component\HttpKernel\Event\GetResponseEvent: {})",“request”:"[object] (Symfony\Component\HttpFoundation\Request: GET /mautic/ HTTP/1.1\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,_/_;q=0.8,application/signed-exchange;v=b3;q=0.9\r\nAccept-Encoding: gzip, deflate, br\r\nAccept-Language: es-ES,es;q=0.9\r\nContent-Length: 0\r\nCookie: \_fbp=fb.1.1616511320540.222973867; 8d7bc800820a87384bdd9d4c354da66f=317e873e87f0daff0ff92ff2cf47597e\r\nHost: [publick2.com](http://publick2.com)\r\nPurpose: prefetch\r\nSec-Ch-Ua: “Google Chrome”;v=“89”, “Chromium”;v=“89”, “;Not A Brand”;v=“99”\r\nSec-Ch-Ua-Mobile: ?0\r\nSec-Fetch-Dest: document\r\nSec-Fetch-Mode: navigate\r\nSec-Fetch-Site: none\r\nSec-Fetch-User: ?1\r\nUpgrade-Insecure-Requests: 1\r\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36\r\nX-Forwarded-For: 186.26.117.10\r\nX-Forwarded-Proto: https\r\nX-Https: on\r\nX-Php-Ob-Level: 1\r\nCookie: \_fbp=fb.1.1616511320540.222973867; 8d7bc800820a87384bdd9d4c354da66f=317e873e87f0daff0ff92ff2cf47597e\r\n\r\n)"}

My problem, I can’t save the mail, I try to use the different templates but it’s the same, it doesn’t save

_Steps I have tried to fix the problem_ :  
change the php version  
I cleared cache

---

<div class="post-metadata">

**Author:** ![homnes](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/homnes/32/947_2.png) [@homnes](https://forum.mautic.org/u/homnes)\
**Post date:** [April 15, 2021, 8:51pm UTC](https://forum.mautic.org/t/i-cant-save-the-emails/18956/2 "2021-04-15T20:51:50Z")

</div>

Same problem !

---

<div class="post-metadata">

**Author:** ![freddy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/freddy/32/4923_2.png) [@freddy](https://forum.mautic.org/u/freddy)\
**Post date:** [April 29, 2021, 1:07am UTC](https://forum.mautic.org/t/i-cant-save-the-emails/18956/3 "2021-04-29T01:07:17Z")

</div>

I think this has nothing to do with shared hosting. You should include in the requirements for Mautic installation that it is not compatible with shared hosting. There are no clear solutions for this issue or at least there is no interest in answering or giving a clear solution for people who are not experts in coding and programming.  
I am very sorry but it is reality.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [April 29, 2021, 11:31am UTC](https://forum.mautic.org/t/i-cant-save-the-emails/18956/4 "2021-04-29T11:31:41Z")

</div>

I’m using Mautic on shared hosting. It is working great.  
I think it should not be included.

There are millions of different environments.  
If someone knows how to install Mautic, they should be able to understand the limitations of their shared hosting.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [April 29, 2021, 11:34am UTC](https://forum.mautic.org/t/i-cant-save-the-emails/18956/5 "2021-04-29T11:34:44Z")

</div>

If you can’t save emails it is usually:

Other software on the same server blocks Mautic in a very evil way.  
Somehow the folder permissions got messed up. Just make sure you reset them right.  
You are trying to save a html, that has some evil things in them, that generates an error.

Joey

---

<div class="post-metadata">

**Author:** ![homnes](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/homnes/32/947_2.png) [@homnes](https://forum.mautic.org/u/homnes)\
**Post date:** [April 30, 2021, 12:09pm UTC](https://forum.mautic.org/t/i-cant-save-the-emails/18956/6 "2021-04-30T12:09:08Z")

</div>

I had the same problem and solved it finally by having the firewall authorizing the inputs coming from my ip.  
Have a good automation day !

---

<div class="post-metadata">

**Author:** ![roboakley](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/roboakley/32/9336_2.png) [@roboakley](https://forum.mautic.org/u/roboakley)\
**Post date:** [February 22, 2023, 1:10pm UTC](https://forum.mautic.org/t/i-cant-save-the-emails/18956/7 "2023-02-22T13:10:13Z")

</div>

Can you elaborate more on the firewall issue. You mean your ISP firewall or PCfirewall?

---

<div class="post-metadata">

**Author:** ![roboakley](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/roboakley/32/9336_2.png) [@roboakley](https://forum.mautic.org/u/roboakley)\
**Post date:** [February 22, 2023, 3:04pm UTC](https://forum.mautic.org/t/i-cant-save-the-emails/18956/8 "2023-02-22T15:04:59Z")

</div>

i was able to solve this issue by disabling Mod security for the sub domain where i hosted mautic. I soke to my hosting provider who investigated and this is the solution they came up with.
