I am facing JQMIGRATE: jQuery.parseJSON requires a valid JSON string this error in console log on Aheadworks store locator, please if you know about this issue kindly tell me solution.

NOTE: JsonFactory is already defined in controller. Thanks

1 Answer 1


This is the usual error when the JSON string that you're trying to parse is empty.

New contributor
Joff Farrow is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.