json_encode and Really Simple SSL problem
-
I have this plugin installed in my ww.wp.xz.cn website and when I run the json_encode() it appends
<!-- Really Simple SSL mixed content fixer active -->on the result, so my ajax call returns error because of the<of the beggining of the appended comment.How may I fix it?
Here is the code:
'error': function(jqXHR, status, error) { console.log(status); console.log(error); console.log(jqXHR.responseText);echo json_encode(array("bookmark" => 0));And it returns:
parsererror SyntaxError: Unexpected token < in JSON at position 14(…) {"bookmark":0}<!-- Really Simple SSL mixed content fixer active -->
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘json_encode and Really Simple SSL problem’ is closed to new replies.