Support » Plugin: Events Manager » Jquery conflict causing geosearch to not work

  • Resolved newsspider

    (@newsspider)


    I am using Inovado theme and Events Manager plugin and it all works perfectly apart from the geosearch facility, which does nothing. When I check the console a JQuery error is displayed:

    Line 591: Uncaught TypeError: Cannot read property ‘Autocomplete’ of undefined

    If anyone can help with this it will be very much appreciated.

    https://wordpress.org/plugins/events-manager/

Viewing 15 replies - 1 through 15 (of 15 total)
  • caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    If you deactiavate all other plugins and switch to the default theme does it work ok?

    Am I able to switch to default theme without losing any of the work?

    caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    Yes, any settings will reappear when the theme is re-activated.

    I changed the theme to 2012 and the search worked so it must be the theme which is conflicting. Are you able to help any further?

    it maybe that you theme is loading another version of jquery which causes conflict; your theme provider can help you with this.

    Hi Angelo,
    I have got in touch with the them author but he is saying that it is down to the plugin author to provide me with help :/

    caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    That’s not very helpful 🙁

    This might help you track down whether the theme is loading jQuery in the incorrect way (it probably is) and how to edit it so that it works correctly:

    http://msyk.es/blog/prevent-jquery-wordpress-theme/

    Hi. Thanks for the link. Actually I had a quick look at that, but I think it is loading the JQuery in the correct way, as far as I can tell. The theme author told me that the theme loads the latest version of JQuery automatically…

    Any ideas?

    caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    Can you post a link to your site?

    Sure. Would it be possible to private message or email you, as the site is in a test area and I do not want it to be indexed by the search engines.

    caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    Sorry, that’s not something we can do via these forums.

    Maybe you could use the Settings > Reading > Search Engine Visibility option?

    No problem, I have done that. Here’s the link to the page in question – http://worksafetraining.dreamscapedesign.co.uk/events/

    caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    Are you using a custom search template? The code looks a little different to the default.

    No, not as far as I know. This page is the standard “All Events” page with the search on it. I haven’t customized anything in terms of templates

    caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    In that case, at the moment I’d say the most likely cause is your theme loading an old version of jQuery. It’s loading version 1.10.2 but it should be loading 1.11.0.

    Actually, it looks like you’re running a very old version of WordPress (3.8.1) – that’ll be why the old library is loading. I’d try upgrading both WordPress and Events Manager to their latest versions.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Jquery conflict causing geosearch to not work’ is closed to new replies.