WordPress.org

Forums

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

  1. newsspider
    Member
    Posted 9 months 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 9 months ago #

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

  3. newsspider
    Member
    Posted 9 months ago #

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

  4. caimin_nwl
    NetWebLogic Support
    Posted 9 months ago #

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

  5. newsspider
    Member
    Posted 9 months 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
    NetWebLogic Support
    Posted 9 months 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 9 months 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 9 months 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 9 months 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 9 months ago #

    Can you post a link to your site?

  11. newsspider
    Member
    Posted 9 months 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 9 months 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 9 months 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 9 months ago #

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

  15. newsspider
    Member
    Posted 9 months 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 9 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic