I get a message An error occurred.
from elementor form when i submit my elementor form.
I configured the Actions after submit with a webhook to a custom url.
I don’t know if the problem is my hook function not responding as it should.
Configuration : After Form Submit
The error message after the submition
I should point out that when I remove the webhook from the Actions after submit list, I no longer get this error.
2
Answers
I understood the problem
My custom url was not responding correctly, I added
return json_encode(array("success"=>true));
to the end of the callback function and that solved the problem.I had a similar issue, I also got an Elementor Forms error message, which turned out to be a timeout issue.
By default, the timeout is set to only 5 seconds. This can be increased by using an add_filter in PHP. For example, if you are using make.com as the webhook, you can specify:
See the original issue here:
https://github.com/elementor/elementor/issues/20452