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 4 years, 7 months ago.
- AuthorPosts
- January 27, 2020 at 4:22 pm #25514
Password for Splash Screen is – agencylogin#3
The search just stopped working
https://propertylocator.ie/single-property-search/
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)
at jquery.ajaxsearchpro-sb.min.js:25Can you help please, the client has a meeting AM tomorrow and is freaking out
Thank you
January 27, 2020 at 4:56 pm #25518Hi,
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:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
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,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.