Skip to content
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

utf8 error in response #27

Open
mirzazeyrek opened this issue Jan 28, 2021 · 0 comments
Open

utf8 error in response #27

mirzazeyrek opened this issue Jan 28, 2021 · 0 comments

Comments

@mirzazeyrek
Copy link

return json_decode($response);

because of some reasons due to new changes in api,

return json_decode($response);

must be

json_decode(utf8_encode($response));

otherwise some of the values in the object being NULL even though there are values. I'm not sure if the repository is still being maintained but for sure a fix is required for the 2020 soccer stats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant