This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Uncaught TypeError

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25514
    johnmc23johnmc23
    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 MarcinkoErnest 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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.