Array to string conversion error after form submission #3064
Unanswered
DevMushref
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Note: using media library pro.
I have a service class with
storeReport()
methodThe
$request->validated()
is basically submitting only the validated fields in the request, part of the request is theattachment
:I made sure to include
use ValidatesMedia;
before therules()
array.Then I call the service class in the controller:
Sometimes when I refresh, or try to submit the form, I get another error saying
Invalid UUID
Here is a screenshot of the request being sent:
What's actually going on here?
Beta Was this translation helpful? Give feedback.
All reactions