You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get lots of "Unknown JSON error: 5". Why not handle all the potential PHP json decoding errors in handleJsonError and display the real error instead? Only 1,2,3 seem to be handled currently, while others were added in newer PHP versions.
I get lots of "Unknown JSON error: 5". Why not handle all the potential PHP json decoding errors in
handleJsonError
and display the real error instead? Only 1,2,3 seem to be handled currently, while others were added in newer PHP versions.See potential errors here: http://php.net/manual/en/function.json-last-error.php
Or use http://php.net/manual/en/function.json-last-error-msg.php (for PHP >5.5).
The text was updated successfully, but these errors were encountered: