# Cannot create new blank emails or emails from templates

**URL:** https://forum.mautic.org/t/cannot-create-new-blank-emails-or-emails-from-templates/25922
**Category:** Product Support
**Tags:** mautic-4
**Created:** [November 2, 2022, 8:01am UTC](https://forum.mautic.org/t/cannot-create-new-blank-emails-or-emails-from-templates/25922 "2022-11-02T08:01:06Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![pharhaan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pharhaan/32/8572_2.png) [@pharhaan](https://forum.mautic.org/u/pharhaan)
#### Post date: [November 2, 2022, 8:01am UTC](https://forum.mautic.org/t/cannot-create-new-blank-emails-or-emails-from-templates/25922/1 "2022-11-02T08:01:06Z")

</div>

**Your software**  
My Mautic version is 4.4.4  
My PHP version is: 8.0.25  
My Database type and version are: MySQL version 5.7.27

**Your problem**  
**My problem is:**

Couldn’t see the save/edit buttons on the **New Email** popup.

When I try to create a new email from the **“Send Email”** popup. There is no option to save or edit the blank or pre-made templates.

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

👇🏻

 ![Mautic-new email](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/e/ea3e12347da2fd2f25bc1c83ad445013b79fadce.jpeg)

Following is the screencast for the same

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

**Steps I have tried to fix the problem:**  
I used **1-click Web Apps Installer** through my hosting panel to install Mautic’s latest version.

I also tried downloading and installing Mautic’s latest stable version from Github, but the same issue occurred.

It would be of great help if someone could figure it out for me. Following is the error log section which has no errors whatsoever.

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

---

<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: [November 2, 2022, 12:18pm UTC](https://forum.mautic.org/t/cannot-create-new-blank-emails-or-emails-from-templates/25922/2 "2022-11-02T12:18:08Z")

</div>

Hi, it looks like the install is either broken or limited on purpose.  
The problem with one click install is that they give you the illusion of a perfect install and no real way to troubleshoot.  
If you are using this Mautic on a shared host, I suggest to change to a VPS asap, before you invest more time.

---

<div class="post-metadata">

### Author: ![pharhaan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pharhaan/32/8572_2.png) [@pharhaan](https://forum.mautic.org/u/pharhaan)
#### Post date: [November 2, 2022, 1:29pm UTC](https://forum.mautic.org/t/cannot-create-new-blank-emails-or-emails-from-templates/25922/3 "2022-11-02T13:29:06Z")

</div>

Hi, thanks for the reply.  
Yeah, I am using Mautic on shared hosting but all my other websites and installations are working fine on it. Currently, I cannot move to VPS for a reason. I also tried fresh installation through Github stable file but issue turned out to be the same.

Is there any way to troubleshoot it?

---

<div class="post-metadata">

### Author: ![techbill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/techbill/32/8325_2.png) [@techbill](https://forum.mautic.org/u/techbill)
#### Post date: [November 2, 2022, 2:22pm UTC](https://forum.mautic.org/t/cannot-create-new-blank-emails-or-emails-from-templates/25922/4 "2022-11-02T14:22:33Z")

</div>

Check browser console to see if there are any errors in it

---

<div class="post-metadata">

### Author: ![pharhaan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pharhaan/32/8572_2.png) [@pharhaan](https://forum.mautic.org/u/pharhaan)
#### Post date: [November 2, 2022, 2:52pm UTC](https://forum.mautic.org/t/cannot-create-new-blank-emails-or-emails-from-templates/25922/5 "2022-11-02T14:52:39Z")

</div>

This is what is seen in the console

 ![Mautic-new email-console error.jpg](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/6/6805e9d8ceac23fee834e62797074dbc71193ff9.jpeg)

---

<div class="post-metadata">

### Author: ![techbill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/techbill/32/8325_2.png) [@techbill](https://forum.mautic.org/u/techbill)
#### Post date: [November 2, 2022, 3:00pm UTC](https://forum.mautic.org/t/cannot-create-new-blank-emails-or-emails-from-templates/25922/6 "2022-11-02T15:00:16Z")

</div>

Seems that a variable is not being declared before the javascript is loaded.

---

<div class="post-metadata">

### Author: ![pharhaan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pharhaan/32/8572_2.png) [@pharhaan](https://forum.mautic.org/u/pharhaan)
#### Post date: [November 2, 2022, 3:13pm UTC](https://forum.mautic.org/t/cannot-create-new-blank-emails-or-emails-from-templates/25922/7 "2022-11-02T15:13:07Z")

</div>

Any idea, how can I fix this?

---

<div class="post-metadata">

### Author: ![techbill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/techbill/32/8325_2.png) [@techbill](https://forum.mautic.org/u/techbill)
#### Post date: [November 2, 2022, 3:28pm UTC](https://forum.mautic.org/t/cannot-create-new-blank-emails-or-emails-from-templates/25922/8 "2022-11-02T15:28:06Z")

</div>

There are not one sure way to fix this since there are varieties of different issues which can cause this error from memory problem to improperly web server configuration.

I am leaning more toward to web server itself because if it was the Mautic code then you would not be the lone ranger experiencing this issue. Like what @joeyk said, something on web server is limiting it or preventing a variable being declared.

Could be permission or missing libraries etc.

Curious … what version is php on the server at?

---

<div class="post-metadata">

### Author: ![pharhaan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pharhaan/32/8572_2.png) [@pharhaan](https://forum.mautic.org/u/pharhaan)
#### Post date: [November 2, 2022, 5:02pm UTC](https://forum.mautic.org/t/cannot-create-new-blank-emails-or-emails-from-templates/25922/9 "2022-11-02T17:02:44Z")

</div>

I have updated the server’s PHP version to 8.1. But still the issue is there.

---

<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: [November 2, 2022, 5:11pm UTC](https://forum.mautic.org/t/cannot-create-new-blank-emails-or-emails-from-templates/25922/10 "2022-11-02T17:11:37Z")

</div>

Mautic 4.4.3 is not compatible with 8.1. I would stick with 7.4

---

<div class="post-metadata">

### Author: ![pharhaan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pharhaan/32/8572_2.png) [@pharhaan](https://forum.mautic.org/u/pharhaan)
#### Post date: [November 2, 2022, 5:27pm UTC](https://forum.mautic.org/t/cannot-create-new-blank-emails-or-emails-from-templates/25922/11 "2022-11-02T17:27:51Z")

</div>

Mine is v. 4.4.4. In fact it was behaving the same on previous PHP versions.

---

<div class="post-metadata">

### Author: ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)
#### Post date: [November 2, 2022, 7:14pm UTC](https://forum.mautic.org/t/cannot-create-new-blank-emails-or-emails-from-templates/25922/12 "2022-11-02T19:14:33Z")

</div>

go to mauitc root and try to run:

rm -r var/cache/prod/\*  
php bin/console mautic:assets:generate

---

<div class="post-metadata">

### Author: ![pharhaan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pharhaan/32/8572_2.png) [@pharhaan](https://forum.mautic.org/u/pharhaan)
#### Post date: [November 2, 2022, 8:18pm UTC](https://forum.mautic.org/t/cannot-create-new-blank-emails-or-emails-from-templates/25922/13 "2022-11-02T20:18:33Z")

</div>

🤔  
I am a noob in running these kinds of commands. Any easier way to solve it?

---

<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: [November 3, 2022, 9:48am UTC](https://forum.mautic.org/t/cannot-create-new-blank-emails-or-emails-from-templates/25922/14 "2022-11-03T09:48:06Z")

</div>

The brutal truth is, that it’s almost impossible to run a Mautic instance without touching the server via command line from time to time.  
Either you get this skill and take the risk of failure, or you hire someone to do it for you.  
I know it sounds ‘not user friendly’, but we are not there yet.

---

<div class="post-metadata">

### Author: ![sergiolemos](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/sergiolemos/32/8585_2.png) [@sergiolemos](https://forum.mautic.org/u/sergiolemos)
#### Post date: [November 3, 2022, 11:28am UTC](https://forum.mautic.org/t/cannot-create-new-blank-emails-or-emails-from-templates/25922/15 "2022-11-03T11:28:09Z")

</div>

Mautic is 4.4.4  
PHP is: 7.4.30  
Data Base: 10.3.31-MariaDB  
In Subdomain

Same mistake.  
It cannot, and does not save, any type of new email.

I deactivated and reactivated the GrapesJS Plugin.  
Improved Mautic performance with commands  
rm -r var/cache/prod/\*  
/usr/bin/php bin/console mautic:assets:generate

- But the ERROR continues!

---

<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: [November 3, 2022, 3:30pm UTC](https://forum.mautic.org/t/cannot-create-new-blank-emails-or-emails-from-templates/25922/16 "2022-11-03T15:30:05Z")

</div>

Are you using emojies in your email?

---

<div class="post-metadata">

### Author: ![pharhaan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pharhaan/32/8572_2.png) [@pharhaan](https://forum.mautic.org/u/pharhaan)
#### Post date: [November 3, 2022, 4:24pm UTC](https://forum.mautic.org/t/cannot-create-new-blank-emails-or-emails-from-templates/25922/17 "2022-11-03T16:24:16Z")

</div>

Nope, as I mentioned in the question, I cannot see the save email bar on the create email modal, let alone create the email.

---

<div class="post-metadata">

### Author: ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)
#### Post date: [November 3, 2022, 4:50pm UTC](https://forum.mautic.org/t/cannot-create-new-blank-emails-or-emails-from-templates/25922/18 "2022-11-03T16:50:35Z")

</div>

Did anyone here investigate the mautic logs on the server side? Is there any hint about the issue there?

Logs are usually stored in: `<mautic-root>/var/logs`

I would try to replace vendor folder with the one from mautic release, for example for mautic version 4.4.4, I would use vendor folder from: \< [https://github.com/mautic/mautic/releases/download/4.4.4/4.4.4.zip](https://github.com/mautic/mautic/releases/download/4.4.4/4.4.4.zip) \>.
