formcreator
formcreator copied to clipboard
Email notifications trigger error 500
Hello there,
I encountered an issue with Form Creator and email notifications.
- GLPI version : 10.0.10
- Form Creator version : 2.13.7
Expected behavior When validating a form, the user returns to the simplified interface to see his/her ticket and gets notified by email.
Actual behavior
When clicking on "Validate", the button keeps turning for 30 seconds then a message appears:
In the browser console :
In PHP logs :
[Sun Oct 15 22:43:16.263408 2023] [php:error] [pid 3939] [client 172.16.130.1:52408] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/glpi/src/Entity.php on line 3311, referer: https://[redacted].com/marketplace/formcreator/front/formdisplay.php?id=1
Few testing This issue appears only when email notifications for tickets are enabled and active. Everything works fine is notifications are disabled or if ticket-related notifications are inactive. I tried to increase the PHP execution time to 1200 seconds but to no avail.
Hi
Do you reproduce with other forms? Do you reproduce when a requester create a ticket without Formcreator? Did you try to send a test email in the notifications configuration page ?
Do you reproduce with other forms? Yes, even a very simple one (just one checkbox) Do you reproduce when a requester create a ticket without Formcreator? Yes, same issue in Assistance > Forms on standard interface Did you try to send a test email in the notifications configuration page ? Yes, it works.
So it seems to be related to GLPI itself ?
Do you still reproduce when you disable Formcreator then create a ticket from glpi ?