This topic has 4 replies, 2 voices, and was last updated 2 years, 9 months ago ago by Olga Barlow
Hello
We noticed that recently our search bar in the top left corner of the header of our site is whirring and whirring when you search, and not returning any results / product previews as it usually did. Before, it would auto suggest results with a preview without having to hit Enter. Now it doesn´t do this.
Below is the error that I am getting in console that seems related to this.
Our developers have said that they think it is a bug in the theme´s minify script. I updated the theme to the latest version and it doesn´t seem to have helped.
Any help would be greatly appreciated!
Many thanks,
Lauren
ajaxSearch.min.js:1 Uncaught TypeError: Cannot read properties of null (reading ‘replace’)
at formatResult (ajaxSearch.min.js:1:18073)
at Object.
at Function.each (jquery.min.js:2:3003)
at u.suggest (ajaxSearch.min.js:1:8656)
at u.processResponse (ajaxSearch.min.js:1:10500)
at Object.
at c (jquery.min.js:2:28327)
at Object.fireWith [as resolveWith] (jquery.min.js:2:29072)
at l (jquery.min.js:2:79901)
at XMLHttpRequest.
Hello,
Issue caused by Surge plugin. Once I disable that search works ok.
Regards
Hi Olga
What’s the Surge plugin? We don’t have a plug in with that name?
Many thanks
Lauren
Hello,
You have https://gyazo.com/56ae0347d7de4e056f26816f49ba97a8
Ask your developers who installed that. It does not come with our theme.
Regards
You must be logged in to reply to this topic.Log in/Sign up