I have made a form that works in all ways except one. I originally thought it was a display message not working, but I removed the display message and the error continued. When I test my form and submit it, I get this error:

The form submits ok and sends the appropriate emails, it just goes to this error right after. I tried using a redirect to the home page of my website but that did not work. Any ideas would be appreciated.
The form submits ok and sends the appropriate emails, it just goes to this error right after. I tried using a redirect to the home page of my website but that did not work. Any ideas would be appreciated.