title: Uncaught SyntaxError: Unexpected token < On Chrome
body: <p>I know this question has been asked many times but I can't find similarity with my issue. I'm getting this error only in Chrome, in every other browser everything is ok. I return data with JSON in several places but since my code works in other browsers I assume nothing is wrong with it.
  Chrome doesn't show me where is error (in my code) it shows me these errors:</p>
  
  <p><img src="https://i.stack.imgur.com/F6GUE.png" alt="enter image description here"></p>
  
  <p>This is how I use JSON:</p>
  
  <pre><code>$.post("getData.php", {'id' : id}, function(data){
          var obj = jQuery.parseJSON(data);
  .
  .
  .
  
  ... some mysqli query
  $data = $query-&gt;fetch_assoc();
  echo json_encode($data);
  </code></pre>
  
  <p>So I don't see a problem here, can someone help me with this.</p>