• For some reason the search function has stopped working on the plugin on this site. It doesn’t generate the searches as you type nor does it even bring up any results by pressing enter. Could you help?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter susankilcoyne

    (@susankilcoyne)

    Just to add to this- if I enter a word into the search when I land on the mobile page nothing comes up. If I refresh the page and enter a word it starts working?

    Plugin Author wpdreams

    (@wpdreams)

    Hi,

    The jquery script in your site header is deferred, so the browser loads it later on the execution chain, as it does the search plugin script so it does not work.
    If you remove the js deferring on header scripts, it will resolve the issue.

    Best,
    Ernest M.

    Hi @wpdreams,
    So, the plugin doesn’t work if jquery and your plugin scripts are loaded in a deferred way? But removing defer will be a big blow to web perf and it simply means more render-blocking js and page loads slower. Hmmm…! ??

    Hi,
    Same issue here.
    I have the Pro version of the plugin, and it doesn’t work even after adding /ajax-search-pro/js/* to the excluded defer list…
    Any help please ?
    Thanks

    Plugin Author wpdreams

    (@wpdreams)

    For Pro version support, please open a ticket here: https://wp-dreams.com/open-support-ticket-step-1/

    It is against the forum rules to discuss paid versions. The issue is probably something else then. We will take a look as soon as possible, once you have the ticket open.

    Best,
    Ernest M.

    I have the same issue. after debugging found that typeof _this.version == ‘undefined’ in asl_wrapper.js comes undefined and stop executing the code below.
    after removed it from the if() everything works

    Plugin Author wpdreams

    (@wpdreams)

    I have the same issue. after debugging found that typeof _this.version == ‘undefined’ in asl_wrapper.js comes undefined and stop executing the code below.
    after removed it from the if() everything works

    Thank you for the feedback. That means, that something is still removing or moving the order the initialization inline script added via wp_add_inline_script method. Removing that may look like it is resolving the issue, but there are still missing properties or methods from the window.ASP variable.
    Are you using a cache/minify plugin as well? If so, then I may have to contact them about this.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Search function not working’ is closed to new replies.