Uncaught TypeError

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 4 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25514
    johnmc23
    johnmc23
    Participant

    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:25

    Can you help please, the client has a meeting AM tomorrow and is freaking out

    Thank you

    #25518
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    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 :)


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.