CiviMail failed with a loose translated message like "Sorry, error happened and your mail has not been record" whenever I tried to use a sample template
Overview
When we try to create a mass mailing message and use one of the sample template provided with CiviCRM, I get this message "Désolé, une erreur est survenue et vos informations n'ont pas été enregistrées". If I use a simplier template I made, it is working ok.
If you have already posted on https://civicrm.stackexchange.com or https://chat.civicrm.org, please include the link to that conversation.
Reproduction steps
- Click on mass mailing, new mailing
- Fill all fields except Campaign and Template and then clicked Save as draft.
- Got no error message.
- Go back, click on mass mailing, draft mailing, find the draft and click **continue".
- Choose a template in template field.
- As soon as the template finish loading and autosave try to save it...
- Got the error message "Désolé, une erreur est survenue et vos informations n'ont pas été enregistrées"
Current behaviour
Expected behaviour
Should save a draft and let me edit the mail template.
Environment information
- Browser: _Chrome Version 106.0.5249.61 | Edge Version 105.0.1343.53
- CiviCRM: _Master/5.50.1
- PHP: _7.4.29
- CMS: _WordPress 6.0.2
- Database: _MariaDB 10.3.34
- Web Server: _Apache 2.4.53
Comments
I have tried to reset CiviCRM cache and rebuild path but to no avail. Group are small, 2 or 3 email address. Work with a simple custom template. No recent update of WP or CiviCRM. We are just starting playing with mass mailing, so I can't tell for how long it has not been working. Also tested sending email to a group. Search contact, select a couple of contact, action->send immediate email, choose the sample template, fill the fields, send email, success! No problem. Seem to be related to how CiviMail store a mass mailing in db. Need help to debug further. Thank you.