Search Bar + Map Issues

Home Forums Calendar Products Filter Bar Search Bar + Map Issues

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1084179
    Laura
    Participant

    Hi there
    We are having quite alot of trouble with the search bar.
    https://www.computecanada.ca/calendar

    1. We keep getting an error in the console in
    https://www.computecanada.ca/wp-content/plugins/the-events-calendar-filterbar/src/resources/js/filter-scripts.min.js?ver=4.0.3
    line 1/ col 3751
    TypeError: q.tribe_has_attr is not a function
    …tribe-events”),r=a(“body”),s=q.length&&q.tribe_has_attr(“data-hover-filters”)&&1…

    Disabling Filter Bar plugin resulted in no results. The error remains.

    2. Can you please explain how the “Near” suppose to work? What can it take to look for: city, province, location name, postal code?Search works good, as it looks for words. But for Near not once did I get accurate results. In many cases it won’t event respond. Probably becasue of the error.
    For example looking for a specific postal code still shows all the events. https://www.computecanada.ca/calendar/list/?tribe-bar-date&tribe-bar-date-day&tribe-bar-search&tribe-bar-geoloc-lat&tribe-bar-geoloc-lng&tribe-bar-geoloc=H3T%201J4

    3. On Venue or Events pages the map it won’t load the map. Even thought the locations are set.
    https://www.computecanada.ca/venue/mount-royal-university/

    4. Map will show up on “Map” view. But no events will be shown on it. I don’t see any pins.
    Again no response from the Near search

    Can you please advise.
    Thank you

    #1084737
    Geoff B.
    Member

    Good morning Laura and welcome to the Events Calendar Support forum!

    Thank you for reaching out to us.

    We are sorry to hear about the struggles you have been experimenting with the search Bar.
    I would love to help you with this topic.

    As a first troubleshooting step, could you please provide us with your system information in a private reply ? (following the instructions found in the link)

    1. We keep getting an error in the console in line 1/ col 3751 TypeError: q.tribe_has_attr is not a function
    …tribe-events”),r=a(“body”),s=q.length&&q.tribe_has_attr(“data-hover-filters”)&&1…

    This is an odd error. It does look a lot like it could stem from a WordPress theme or a plugin conflict.

    Could you please go through our testing for conflicts procedure (preferably in a staging/dev environment or local install of your WordPress website) and let us know what you find out ?

    Basically the goal here is to revert back to a bare WordPress installation to see if the problem persists. It also allows us to pinpoint what the cause of the issue is.

    2. Can you please explain how the “Near” suppose to work? What can it take to look for: city, province, location name, postal code ?Search works good, as it looks for words. But for Near not once did I get accurate results. In many cases it won’t event respond. Probably because of the error.

    That’s a strong possibility (that the Javascript error is interfering since this involves a substantial amount of Javascript to work properly).

    I believe my awesome colleagues did an awesome job at explaining how this functionality is supposed to work.
    Basically we use Google’s geolocation API (which mean your webhost has to allow this feature for you).

    3. On Venue or Events pages the map it won’t load the map. Even thought the locations are set.
    https://www.computecanada.ca/venue/mount-royal-university/

    4. Map will show up on “Map” view. But no events will be shown on it. I don’t see any pins.
    Again no response from the Near search

    Once again, it might be related to the previous issue, or to a conflict and even to your webhost cutting you out if they have a limit on the amount of Google Geolocation usage you are allowed.

    In any case, going through the system information and the conflict tests should help us pinpoint the issue.

    Hang in there and let me know what your findings are!

    Best regards,

    Geoff B.

    #1084903
    Laura
    Participant

    This reply is private.

    #1085119
    Geoff B.
    Member

    Good evening Laura,

    Thank you for the system information and I am taking note of the additional non-responsive behaviour of the filter (which is not normal).

    I will await the results of your conflict tests to see what the next steps are.

    Best regards,

    Geoff B.

    #1085135
    Laura
    Participant

    Hi Geoff

    I noticed an odd things. Then I go into the site with https, I don’t see the js error in
    https://www.computecanada.ca/wp-content/plugins/the-events-calendar-filterbar/src/resources/js/filter-scripts.min.js?ver=4.0.4
    but the filter or the search location features are still not working.

    Testing conflicts:
    1. Switching to 2015 theme, didn’t bring any change, still nothing response.
    2. Deactivating all the plugins, seems to fix the issue.
    3. Thought the live search is still not working properly. As I type in the location field, it doesn’t offer any google suggestions.
    The search location is buggy, As I type nothing shows up.I have to press enter to see the google drop down, sometimes it will show up, and sometimes it wouldn’t.
    4. Activating plugins one by one it has a conflict with Huge IT Video Gallery. For some reason they are calling an extra version of jQuery without even making sure one is not loaded in the site. Kinda amateurish on their side.
    Once I disabled the script enqueue, the errors disappeared.

    Can you please look into the #3.
    Thank you Geoff

    #1085376
    Geoff B.
    Member

    Good evening Laura,

    Thank you so much for running the different tests.

    Your finding on the Javascript error is interesting indeed. I am unsure exactly how your site is setup in regards to secured vs non-secured pages and it would totally be worth investigating into once we have ruled out other potential causes.

    2. Deactivating all the plugins, seems to fix the issue. 4. Activating plugins one by one it has a conflict with Huge IT Video Gallery.

    That’s awesome and impressive work! Kudos on finding the culprit.

    3. Thought the live search is still not working properly. As I type in the location field, it doesn’t offer any google suggestions. The search location is buggy, As I type nothing shows up.I have to press enter to see the google drop down, sometimes it will show up, and sometimes it wouldn’t.

    I’m sorry to hear that. This feature is dependent on the use of Google’s Geolocation API at your webhost level as stated earlier. If you haven’t already it would be worth making sure that you are not under some limitations from the webhost (many of them have a max number of queries they are allowed for a specific IP address).

    But what you are describing still sounds like a remnant from the Javascript type conflict. Could you confirm that this is happening while on Twenty-Fifteen with all other plugins deactivated ?

    Have a good week-end,

    Geoff B.

    #1091389
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Search Bar + Map Issues’ is closed to new replies.