-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Error: json_encode error: Malformed UTF-8 characters #17
Comments
Same here.
|
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
I have this error with lots of production data (it contains large json data):
GuzzleHttp\Exception\InvalidArgumentException: json_encode error: Malformed UTF-8 characters, possibly incorrectly encoded in /app/vendor/guzzlehttp/guzzle/src/Utils.php:299
In stack trace i found:
#4 /app/vendor/jkocik/laravel-profiler/src/Processors/BroadcastingProcessor.php(57): GuzzleHttp\Client->request('POST', 'http://localhos...', Array)
In file
src/Processors/BroadcastingProcessor.php
on line 57 i must do mb_convert_encoding():mb_convert_encoding($dataTracker->data()->toArray(), 'UTF-8', 'UTF-8'),
and it works without any error.
Can you fix it feature versions?
The text was updated successfully, but these errors were encountered: