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

special variable Resource givin' SyntaxError #62

Open
danielcatao opened this issue Apr 12, 2017 · 0 comments
Open

special variable Resource givin' SyntaxError #62

danielcatao opened this issue Apr 12, 2017 · 0 comments

Comments

@danielcatao
Copy link

danielcatao commented Apr 12, 2017

I'm getting the error below when I try to Chrome::log() a mysql_query result:

Error in event handler for runtime.onMessage: SyntaxError: Unexpected end of JSON input
at _decode (chrome-extension://noaneddfkdjfnfdakjjmocngnfkfehhd/log.js:156:21)
at _process (chrome-extension://noaneddfkdjfnfdakjjmocngnfkfehhd/log.js:164:26)
at _handleHeaderUpdate (chrome-extension://noaneddfkdjfnfdakjjmocngnfkfehhd/log.js:181:9)

*if I use mysql_fetch_array before Chrome::log() the error disappear.

Suggestion:
Add if(is_resource($object)){return get_resource_type($object);} to ChromePHP::_convert()

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