Current time: 09-29-2020, 09:09 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
json_response returns nothing
12-31-2015, 01:14 AM (This post was last modified: 12-31-2015 01:39 AM by matthew.)
Post: #3
RE: json_response returns nothing
(12-30-2015 04:16 PM)josephscott Wrote:  Is this for a private instance of WPT? If so, check your error logs.

Hi, thanks for reply. yes, it's a private instance.
it's a good idea. but there is nothing in the error log.
I added json_last_error() in the jsonResult.php, and got the output is 5, which is JSON_ERROR_UTF8

After I utf8_encode the array, json_response finally output the json.
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
RE: json_response returns nothing - matthew - 12-31-2015 01:14 AM

Forum Jump:


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