# Mautic 4.1 | Email Builder - Doesn't save edits, tries to but fails!

**URL:** <https://forum.mautic.org/t/mautic-4-1-email-builder-doesnt-save-edits-tries-to-but-fails/21208>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [October 10, 2021, 2:47pm UTC](https://forum.mautic.org/t/mautic-4-1-email-builder-doesnt-save-edits-tries-to-but-fails/21208 "2021-10-10T14:47:45Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![charlesn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/charlesn/32/5378_2.png) [@charlesn](https://forum.mautic.org/u/charlesn)\
**Post date:** [October 10, 2021, 2:47pm UTC](https://forum.mautic.org/t/mautic-4-1-email-builder-doesnt-save-edits-tries-to-but-fails/21208/1 "2021-10-10T14:47:45Z")

</div>

**Your software**  
My Mautic version is: 4.1  
My PHP version is: Not sure will update this ticket soonest  
My Database type and version is: Not sure will update this ticket soonest

**Your problem**  
My problem is: I have decided to reach out to the Mautic forums for assistance in the above regard. I am being told that the server is under spec’d but, I am not convinced that the abovementioned issue is server spec related.

I create a new email, name it, access the builder and delete one image, after which I try and save this change. The saving cycle doesn’t complete and I loose the attempted change. This behaviour is consistent across all available email Themes built into Mautic.

These errors are showing in the log: 2021-10-10 15:00:29] mautic.ERROR: PHP Error: Maximum execution time of 300 seconds exceeded - in file /home/go4sight/public\_html/vendor/symfony/polyfill-mbstring/Mbstring.php - at line 631    
[2021-10-10 15:00:29] mautic.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Error: Maximum execution time of 300 seconds exceeded - in file /home/go4sight/public\_html/vendor/symfony/polyfill-mbstring/Mbstring.php - at line 631

Steps I have tried to fix the problem: Upgrade the server to Bronze Enterprise at [Afrihost](https://www.afrihost.com/site/product/enterprise_cloud_hosting)

I’d appreciated any assitance in resolving this issue, many thanks!

---

<div class="post-metadata">

**Author:** ![ekke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ekke/32/296_2.png) [@ekke](https://forum.mautic.org/u/ekke)\
**Post date:** [October 10, 2021, 6:07pm UTC](https://forum.mautic.org/t/mautic-4-1-email-builder-doesnt-save-edits-tries-to-but-fails/21208/2 "2021-10-10T18:07:43Z")

</div>

Hi Charles,

300 secs does not sound plausible even with an underspec’d server.  
Nonetheless, please do find out about the PHP version ( /s/sysinfo will help) and, if possible, CPU information)

> This behaviour is consistent across all available email Themes built into Mautic.

You are using the new “GrapesJS” email builder, right? i.e. templates like “Paprika”

Best,  
Ekke

---

<div class="post-metadata">

**Author:** ![charlesn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/charlesn/32/5378_2.png) [@charlesn](https://forum.mautic.org/u/charlesn)\
**Post date:** [October 10, 2021, 8:23pm UTC](https://forum.mautic.org/t/mautic-4-1-email-builder-doesnt-save-edits-tries-to-but-fails/21208/3 "2021-10-10T20:23:33Z")

</div>

Thanks for the feedback Ekke.

Will get the PHP version soonest. 🙂

CPU info - 6vCPUs, RAM 12 GB

 ![afrihost](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/2/294f5ad75a46efff93db97922780b6b22f61a3a9.png)

Yes I am using “GrapesJS”.

---

<div class="post-metadata">

**Author:** ![charlesn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/charlesn/32/5378_2.png) [@charlesn](https://forum.mautic.org/u/charlesn)\
**Post date:** [October 11, 2021, 3:07pm UTC](https://forum.mautic.org/t/mautic-4-1-email-builder-doesnt-save-edits-tries-to-but-fails/21208/4 "2021-10-11T15:07:54Z")

</div>

Hello Ekke, the server is running PHP7.4 and @raramuridesign will give you more details too. Thanks!

---

<div class="post-metadata">

**Author:** ![charlesn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/charlesn/32/5378_2.png) [@charlesn](https://forum.mautic.org/u/charlesn)\
**Post date:** [October 11, 2021, 4:08pm UTC](https://forum.mautic.org/t/mautic-4-1-email-builder-doesnt-save-edits-tries-to-but-fails/21208/5 "2021-10-11T16:08:28Z")

</div>

The sysinfo

 ![Web capture_11-10-2021_18728_go.4sight.cloud](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/3/3b9ef0792cbe5b17e3520e04e94bc1f9d1abcb03.jpeg)

---

<div class="post-metadata">

**Author:** ![raramuridesign](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/raramuridesign/32/13226_2.png) [@raramuridesign](https://forum.mautic.org/u/raramuridesign)\
**Post date:** [October 11, 2021, 5:52pm UTC](https://forum.mautic.org/t/mautic-4-1-email-builder-doesnt-save-edits-tries-to-but-fails/21208/6 "2021-10-11T17:52:55Z")

</div>

@ekke Just an update here.  
The issue is on any template which we have on the system.  
It affects email only. IE saving the code after some changes in grapejs just takes forever.

Server specs as per the screenshot from @charlesn

When the save command is run, the php process sends the CPU’s through the root, making the server unresponsive, we have to then kill the process.

Can you advise if there is another way to troubleshoot this? Thanks.

---

<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:** [October 11, 2021, 5:57pm UTC](https://forum.mautic.org/t/mautic-4-1-email-builder-doesnt-save-edits-tries-to-but-fails/21208/7 "2021-10-11T17:57:03Z")

</div>

Please clarify the version you’re using - do you mean 4.0.1? As 4.1 is not yet released 🙂

Did you see any errors in the browser console (developer tools in Chrome) when you save?

---

<div class="post-metadata">

**Author:** ![charlesn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/charlesn/32/5378_2.png) [@charlesn](https://forum.mautic.org/u/charlesn)\
**Post date:** [October 11, 2021, 7:07pm UTC](https://forum.mautic.org/t/mautic-4-1-email-builder-doesnt-save-edits-tries-to-but-fails/21208/8 "2021-10-11T19:07:56Z")

</div>

To clarify, yes. 4.0.1 😉 Didn’t look at the developer tools at the time, will take the actions again and have a look and revert. BTW I am using a Chrome browser not IE. @raramuridesign🙂

---

<div class="post-metadata">

**Author:** ![charlesn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/charlesn/32/5378_2.png) [@charlesn](https://forum.mautic.org/u/charlesn)\
**Post date:** [October 11, 2021, 7:38pm UTC](https://forum.mautic.org/t/mautic-4-1-email-builder-doesnt-save-edits-tries-to-but-fails/21208/9 "2021-10-11T19:38:48Z")

</div>

Nope no errors were observed @silavapi, thanks.

---

<div class="post-metadata">

**Author:** ![charlesn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/charlesn/32/5378_2.png) [@charlesn](https://forum.mautic.org/u/charlesn)\
**Post date:** [October 11, 2021, 9:37pm UTC](https://forum.mautic.org/t/mautic-4-1-email-builder-doesnt-save-edits-tries-to-but-fails/21208/10 "2021-10-11T21:37:07Z")

</div>

Tried again in incognito mode, got these errors. BTW this attempt was on my mobile network all the other attempts were on my FTTH network.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/5/5cf17e87a787b4824a99517c6f0a41ab6ba41423.png)

---

<div class="post-metadata">

**Author:** ![charlesn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/charlesn/32/5378_2.png) [@charlesn](https://forum.mautic.org/u/charlesn)\
**Post date:** [October 11, 2021, 9:51pm UTC](https://forum.mautic.org/t/mautic-4-1-email-builder-doesnt-save-edits-tries-to-but-fails/21208/11 "2021-10-11T21:51:55Z")

</div>

If i let the session to run to failure this is the error:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/b/bbcfc1b38f07f85c4c4f68e9a3049a8f0f56825a.png)

---

<div class="post-metadata">

**Author:** ![ekke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ekke/32/296_2.png) [@ekke](https://forum.mautic.org/u/ekke)\
**Post date:** [October 12, 2021, 6:24am UTC](https://forum.mautic.org/t/mautic-4-1-email-builder-doesnt-save-edits-tries-to-but-fails/21208/12 "2021-10-12T06:24:29Z")

</div>

@charlesn all the basics look perfect, far from underspec’d.

But… Are you saying this happens in IE? Not a supported browser! Did you try anything else?

---

<div class="post-metadata">

**Author:** ![ekke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ekke/32/296_2.png) [@ekke](https://forum.mautic.org/u/ekke)\
**Post date:** [October 12, 2021, 6:26am UTC](https://forum.mautic.org/t/mautic-4-1-email-builder-doesnt-save-edits-tries-to-but-fails/21208/13 "2021-10-12T06:26:32Z")

</div>

> [@raramuridesign](#):
>
> IE saving the code after some changes in grapejs just takes forever.

Oh, I guess

> IE saving the code after some changes in grapejs just takes forever.

is not “Internet Explorer” but “i.e. saving the code (…)”  
right?  
😃

---

<div class="post-metadata">

**Author:** ![raramuridesign](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/raramuridesign/32/13226_2.png) [@raramuridesign](https://forum.mautic.org/u/raramuridesign)\
**Post date:** [October 12, 2021, 9:49am UTC](https://forum.mautic.org/t/mautic-4-1-email-builder-doesnt-save-edits-tries-to-but-fails/21208/14 "2021-10-12T09:49:31Z")

</div>

@ekke IE = i.e 😉

Is there anything else we can provide to assist in getting this sorted out?

---

<div class="post-metadata">

**Author:** ![ekke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ekke/32/296_2.png) [@ekke](https://forum.mautic.org/u/ekke)\
**Post date:** [October 13, 2021, 10:41am UTC](https://forum.mautic.org/t/mautic-4-1-email-builder-doesnt-save-edits-tries-to-but-fails/21208/15 "2021-10-13T10:41:08Z")

</div>

Hmmm,  
once again, I cannot reproduce. This is supposed to work.  
Is there anything in front of the Web Server - like a Varnish or a Web Application Firewall? 504 sounds suspicious!

A few other things:

- When you say it hangs at save, you mean “leaving the builder and then hitting the SAVE button in Mautic”, right ?
- Does this only occur when you delete an image?
- Again, what browser is this?

Cheers 😉

---

<div class="post-metadata">

**Author:** ![charlesn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/charlesn/32/5378_2.png) [@charlesn](https://forum.mautic.org/u/charlesn)\
**Post date:** [October 13, 2021, 1:08pm UTC](https://forum.mautic.org/t/mautic-4-1-email-builder-doesnt-save-edits-tries-to-but-fails/21208/16 "2021-10-13T13:08:12Z")

</div>

Hello @ekke, this instance of Mautic is a client’s (4Sight Holdings) instance that is hosted in the Afrihost datacentre. 4Sight’s Network Administrator responsible for managing the Afrihost contract has agreed to assist us in troubleshoot the issue together with his contact\s at Afrihost. I am going to invite him to this thread and once he “arrives” he’ll start understanding the issue better and then to take it up with Afrihost, many thanks!

---

<div class="post-metadata">

**Author:** ![charlesn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/charlesn/32/5378_2.png) [@charlesn](https://forum.mautic.org/u/charlesn)\
**Post date:** [October 13, 2021, 4:54pm UTC](https://forum.mautic.org/t/mautic-4-1-email-builder-doesnt-save-edits-tries-to-but-fails/21208/17 "2021-10-13T16:54:18Z")

</div>

Hello @ekke, I’d like to introduce you to @johan_jacobs, he has kindly agree to get more details and to troubleshoot with Afrihost, thanks @johan_jacobs 🙂

---

<div class="post-metadata">

**Author:** ![charlesn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/charlesn/32/5378_2.png) [@charlesn](https://forum.mautic.org/u/charlesn)\
**Post date:** [October 13, 2021, 5:10pm UTC](https://forum.mautic.org/t/mautic-4-1-email-builder-doesnt-save-edits-tries-to-but-fails/21208/18 "2021-10-13T17:10:16Z")

</div>

Well @ekke, I decided to do a screen recording today so you can see exactly what is happen, to allow you to understand my issue. And guess what! It all works as expected today. I’ll keep an eye on it and revert should I still have issues. 🙂

@raramuridesign it might have been the clean up you did on the server today for the new website that went live today?

@johan_jacobs it looks like things are okay now, thanks for your willingness to assist!

---

<div class="post-metadata">

**Author:** ![ekke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ekke/32/296_2.png) [@ekke](https://forum.mautic.org/u/ekke)\
**Post date:** [October 14, 2021, 7:03am UTC](https://forum.mautic.org/t/mautic-4-1-email-builder-doesnt-save-edits-tries-to-but-fails/21208/19 "2021-10-14T07:03:10Z")

</div>

awesome!!!  
Again, keep an eye on the infrastructure if issues should come back 🙂

---

<div class="post-metadata">

**Author:** ![johnwick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/johnwick/32/3279_2.png) [@johnwick](https://forum.mautic.org/u/johnwick)\
**Post date:** [October 17, 2021, 6:46am UTC](https://forum.mautic.org/t/mautic-4-1-email-builder-doesnt-save-edits-tries-to-but-fails/21208/20 "2021-10-17T06:46:21Z")

</div>

Hey, are you using Cloudflare in your stack? The WAF can mess with Mautic we’ve learned.
