Home › Forums › Calendar Products › Events Calendar PRO › AJAX Request Not Executing Properly for Calendar Filter Bar
- This topic has 7 replies, 2 voices, and was last updated 8 years, 4 months ago by
Center for Inquiry.
-
AuthorPosts
-
November 9, 2017 at 1:05 pm #1379349
Center for Inquiry
ParticipantHello,
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.
November 13, 2017 at 4:53 am #1381379Andras
KeymasterHi,
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,
AndrasNovember 13, 2017 at 8:35 am #1381621Center for Inquiry
ParticipantHi 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.
November 14, 2017 at 3:45 am #1382268Andras
KeymasterHello 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,
AndrasNovember 14, 2017 at 6:35 am #1382401Center for Inquiry
ParticipantHi 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/November 15, 2017 at 12:36 pm #1383849Andras
KeymasterHi,
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,
AndrasDecember 7, 2017 at 8:35 am #1400373Support Droid
KeymasterHey 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 -
AuthorPosts
- The topic ‘AJAX Request Not Executing Properly for Calendar Filter Bar’ is closed to new replies.
