-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return value type error #87
Comments
I tested this on a new Craft 5 site. I installed Guest Entries. Copied the Guest Entries usage sample code (minus the body field) to a test template and submitted an empty form. This will get me the same error as above. If I fill out the title field a new entry is created. Turning the Validate setting off or on doesn't seem to make any difference. Am I overlooking something regarding the validation? |
Correct return type to match `asModelFailure()`
Thanks for reporting! I just raised a PR with a fix for this. |
Just released 4.0.1 with this fix. Thanks, all! |
Description
When the entry form is not filled correctly I get an error page instead of the error list.
I rebuild a simplified version and still get the same error.
It was working fine a few months ago.
This is my simplified code
And this is the error
Additional info
The text was updated successfully, but these errors were encountered: