I am attempting to return a json encoded array to JS from PHP and i\'ve done so many times before but now i\'m getting a weird error. I am successfully getting the data and it\'
Maybe you need to send the correct HTTP header with your response.
See here: https://stackoverflow.com/questions/267546/correct-http-header-for-json-file