WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Events Manager
[resolved] Jquery conflict causing geosearch to not work (16 posts)

  1. newsspider
    Member
    Posted 2 years ago #

    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/

  2. caimin_nwl
    NetWebLogic Support
    Posted 2 years ago #

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

  3. newsspider
    Member
    Posted 2 years ago #

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

  4. caimin_nwl
    NetWebLogic Support
    Posted 2 years ago #

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

  5. newsspider
    Member
    Posted 2 years ago #

    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?

  6. angelo_nwl
    NetWebLogic Support
    Posted 2 years ago #

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

  7. newsspider
    Member
    Posted 2 years ago #

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

  8. caimin_nwl
    NetWebLogic Support
    Posted 2 years ago #

    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/

  9. newsspider
    Member
    Posted 2 years ago #

    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?

  10. caimin_nwl
    NetWebLogic Support
    Posted 2 years ago #

    Can you post a link to your site?

  11. newsspider
    Member
    Posted 2 years ago #

    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.

  12. caimin_nwl
    NetWebLogic Support
    Posted 2 years ago #

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

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

  13. newsspider
    Member
    Posted 2 years ago #

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

  14. caimin_nwl
    NetWebLogic Support
    Posted 2 years ago #

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

  15. newsspider
    Member
    Posted 2 years ago #

    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

  16. caimin_nwl
    NetWebLogic Support
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic