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.