Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Uncaught TypeError
This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 3 years, 4 months ago.
- January 27, 2020 at 4:22 pm #25514
Password for Splash Screen is – agencylogin#3
The search just stopped working
Console shows this error
Uncaught TypeError: t(…).ajaxsearchpro is not a function
at HTMLDivElement.<anonymous> (jquery.ajaxsearchpro-sb.min.js:25)
at Function.each (jquery.min.js:2)
at k.fn.init.each (jquery.min.js:2)
at Object.window.ASP.initialize (jquery.ajaxsearchpro-sb.min.js:25)
at HTMLDocument.<anonymous> (jquery.ajaxsearchpro-sb.min.js:25)
at i (jquery.js:2)
at Object.add [as done] (jquery.js:2)
at a.fn.init.n.fn.ready (jquery.js:2)
Can you help please, the client has a meeting AM tomorrow and is freaking out
Thank youJanuary 27, 2020 at 4:56 pm #25518
There is a second jQuery script loaded on the bottom of the page source, which wipes out all previously loaded extensions, causing the error.
This is the problematic line:
That should be removed, as WordPress already loads a jquery instance at the page header for plugins to attach to. It will resolve the issue as well.Best,
If you like my products, don't forget to rate them on codecanyon :)
You must be logged in to reply to this topic.