AJAX Request Not Executing Properly for Calendar Filter Bar

Home Forums Calendar Products Events Calendar PRO AJAX Request Not Executing Properly for Calendar Filter Bar

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1379349
    Center for Inquiry
    Participant

    Hello,

    On my website, https://new.centerforinquiry.net/michigan/events/, whenever someone types in a location in the “Near” section, “Search” section, or “Date” section the “Find Events” button does not execute any type of filtering. Upon further examination, a few functions are said to be undefined or “not a function” within your javascript coding for this feature. I have uploaded a few screenshots of the issue so that you may see, otherwise you can visit the page and see for yourself.

    Please respond at your earliest convenience. We are trying to develop this site to it’s fullest extent as soon as possible. Thank you for your time and response in advance.

    #1381379
    Andras
    Keymaster

    Hi,

    Thanks for reaching out! I’m really sorry about the issue with the site. Let me try to help you with this.

    I checked your site and don’t see the error messages you have referenced. It also looks like that EC PRO is not active, as I don’t see the ‘Near’ field.

    I also see another error that seems to be coming from your theme. (screenshot)

    Are you also getting the same errors when you switch to a default theme like twentyseventeen?

    Looking forward to hearing back from you.

    Cheers,
    Andras

    #1381621
    Center for Inquiry
    Participant

    Hi Andras,

    Thanks for your response! I disabled the search by location box for now on that site. This site uses the same template as the other one, can you check that one? https://new.centerforinquiry.net/wny/events/ The other options are working.

    #1382268
    Andras
    Keymaster

    Hello again,

    Thanks for the url.

    This site also has the error with the theme. (screenshot)

    Based on the error messages it looks like you are using cloudfront and / or caching.

    Sometimes caching and minification causes issues. We usually recommend to exclude The Events Calendar resources from minification.

    My approach would be: first switch off minification and see if that helps. If not, then start from zero:

    • disable cloudfront and all kind of caching. Check if that solves the issue
    • start enabling caching features and cloudfront one option at a time and check when the functionality breaks

    Here’s an article about caching from our knowledgebase that also might be helpful.

    Let me know what you find.

    Cheers,
    Andras

    #1382401
    Center for Inquiry
    Participant

    Hi Andras,

    I’ve turned off minification for tribe-event labelled javascript files and couldn’t get the Near field to work. I also just switched to the WordPress default theme for the site, same issue. I’m attaching the error message for you. I don’t have a cache on my site other than browser cache preferences.

    Here’s the link again:
    https://new.centerforinquiry.net/wny/events/

    #1383849
    Andras
    Keymaster

    Hi,

    I have tested this on my test site with only the most recent calendar plugins active (TEC 4.6.4. PRO 4.4.19 and Filter Bar 4.5.1) and the location search works fine without error messages. So we need to dig a bit further to find out what can cause this here.

    The starting points are the following:

    • Update the calendar plugins to the latest versions if you haven’t done so yet. (Based on your system information you are one version behind on TEC and PRO)
    • Deactivate all plugins except for TEC and PRO and deactivate
    • Use a default theme like twentyseventeen (I see you are already on that 😉 )
    • Switch off / disable cloudfront and any other caching / CDN service for the full site, not only the calendar plugins

    If the search works like this as it should, then we can start adding things back one by one. If it still doesn’t work, then we will dig even further.

    This is getting exciting. 🙂

    Cheers,
    Andras

    #1400373
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘AJAX Request Not Executing Properly for Calendar Filter Bar’ is closed to new replies.