MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
json_response returns nothing
Current time: 11-24-2020, 11:41 AM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
json_response returns nothing
12-30-2015, 08:18 AM
Post: #1
json_response returns nothing

I just find sometimes jsonResult.php can't return json result correctly, but nothing.(html and xml results work perfectly)
For example: The path is jsonResult.php?test=151229_ZR_Z4

in jsonResult.php file, I can see:
I var_dump($ret) and get a large array, but json_response($ret) returns nothing.

I guess it's because the size of my array is too big, and json_encode can't accept the large array.

Maybe it's a bug, is there a quick solution to solve it?
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
json_response returns nothing - matthew - 12-30-2015 08:18 AM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)