Hello,
When I upload an image with a small size, it works fine.
But if the file size is too big (200 Ko doesn't work), I get this error (here is the top of the stack).
I specify that this error occurs before the validation rules are checked.
{
"message": "Malformed UTF-8 characters, possibly incorrectly encoded",
"exception": "InvalidArgumentException",
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Http/JsonResponse.php",
"line": 90,
"trace": [
{
"file": "/var/www/html/vendor/symfony/http-foundation/JsonResponse.php",
"line": 49,
"function": "setData",
"class": "Illuminate\\Http\\JsonResponse",
"type": "->"
},
{
"file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Http/JsonResponse.php",
"line": 32,
"function": "__construct",
"class": "Symfony\\Component\\HttpFoundation\\JsonResponse",
"type": "->"
},
Well ... not sure if it's really related to the file size ... I have to check ... but it's almost only for bigger images that the error occurs.
Do you have any idea ?
What do you suggest me to check ?
Thanks a lot.
V