- 🇨🇦Canada dadderley Vancouver
I just encountered this problem.
Drupal version : 10.2.5
Default theme : swz
Admin theme : claro
PHP version : 8.1.27I have several forms and they all sent email as they should.
The site uses the SMTP module and it works well for email.Very recently, the existing forms stopped working.
The forms collected data, but showed a 500 error on submission.
There were no SMTP messages indicating a failure or success in the sending of emails.I came across this thread and This rang a bell
when submitting a form which has an email handler.
This is mitigated by the fact that it is not a good idea to enable devel_generate on production, so this probably won't happen in production, but on dev/stage servers with devel_generate enabled, it will cause fatal errors.
As it turned out, on this site I had left the Devel Generate module installed.
I uninstalled it and the problem immediately disappeared.
- 🇬🇧United Kingdom Lincoln-Batsirayi
I had the same issue as in #49 where we'd left devel_generate enabled on stage and disabling it fixed the issue of the dead screen upon submitting the form.
- 🇨🇦Canada Liam Morland Ontario, CA 🇨🇦
I think the problem you are facing is fixed in 🐛 Incompatibility with devel ^5.2 RTBC .