Closed LTroya closed 4 years ago
This seems related to Laravel 6.x. The easy way to resolve it in a backward-compatible manner is:
$file = $request->file('file');
$file = is_array($file) ? $file[0] : $file;
It might be worth investigating this in a bit more depth, though.
This has been fixed in v0.4.
I'm getting this error using the
0.2.0 version
when I upload a file. This is the exact error:Looking into the source code, it happens because is using
[0]
on this lineIf I remove
[0]
, it works as expected. On thechrome developer tool network
tab it's always sending one request by fileFilepond client: https://github.com/pqina/vue-filepond Laravel version: 6.2