Home › Forums › Calendar Products › Filter Bar › Filter Bar Freezes Site
- This topic has 12 replies, 2 voices, and was last updated 9 years, 1 month ago by Gustavo Bordoni.
-
AuthorPosts
-
February 23, 2015 at 1:17 pm #944392Joshua HayParticipant
Hey all…
I have a couple of sites that are having an issue with loading events from the filter bar.
When selecting categories, etc. with certain event results, the spinning wheel never stops in what appears to be an AJAX failure.
EXAMPLE:
https://ca.achievecentre.com/workshops/category/public-workshops/
Most of the filters return results fine, but selecting Winnipeg (Manitoba) will freeze up the plugin and return nothing.
Any ideas what could be breaking this?
February 23, 2015 at 5:45 pm #944430Gustavo BordoniKeymasterHi Joshua,
When you created this thread you said that you are currently on the version 3.8 of our plugin, can you update to our latest version? Than test it again, if it continues, please reply and I will try to debug it further with you.
I would like you to try one more thing before getting back to us, because it seems that the default WordPress AJAX URL is throwing an 404 error it most likely is your server blocking the request in some way shape or form, so I would try to also talk to your hosting to see if they have anything in place that might block that page.
My Best Regards,
February 24, 2015 at 7:52 am #944519Joshua HayParticipantHey Gustavo,
I doubt hosting would be an issue, as this is a sporadic and somewhat rare yet reoccurring problem.
I updated T.E.C. to 3.9.1 and, after disabling some functions.php code, got everything running again. The filter bar is now loading events, but AJAX doesn’t seem to be an option any more. Is this done intentionally? I now need to click “Search” beneath filters now, where I previously just clicked on a filter option to load results live.
February 25, 2015 at 8:55 pm #944799Gustavo BordoniKeymasterHi Joshua,
It might have been disabled on the options panel, can you check on your Plugin Settings page if the option for AJAX is active?
My Best Regards,
February 26, 2015 at 8:17 am #944881Joshua HayParticipantI have checked “Use Javascript to control date filtering”, if this is what you were referring to.
I also just noticed that clicking “Next Events” and “Previous Events” has started adding /list/ to the URL but not actually loading new events.
February 26, 2015 at 8:19 am #944884Joshua HayParticipantAlso, I’m getting the following javascript error in my console log:
Uncaught ReferenceError: debug is not defined
tribe-events-pro.min.js?ver=3.8.1:12
February 26, 2015 at 10:33 am #944941Gustavo BordoniKeymasterHi Joshua,
So if you are still getting this bug I think it’s related to one of the plugins (Pro) not been updated to the correct version it seems to be on the 3.8.1 version can you double check and update it to the version 3.9.1
My Best Regards,
February 26, 2015 at 11:22 am #944965Joshua HayParticipantThanks Gustavo,
I wasn’t aware there were updates to be made, but I installed all of the new plugins for TEC, TEC Pro, and Filter Bar.
Still, the page is staying stuck on the loading wheel when I try to filter results or click on “Next Events” / “Previous Events”.
February 26, 2015 at 11:56 am #945006Gustavo BordoniKeymasterHi Joshua,
I tested here on my Chrome and It’s looking good, try to empty your Browser cache to make sure you are testing on the right files.
My Best Regards,
February 26, 2015 at 12:01 pm #945010Joshua HayParticipantSorry Gustavo,
I forgot I was on the development site testing this. I cleared my cache but no luck.
http://ctri.hellowebsites.ca/workshops/category/public-workshops/
February 27, 2015 at 5:02 pm #945265Gustavo BordoniKeymasterHi Joshua,
I’ve done some testing and found out that your sever has bug with the ZLib compression, and that’s been noticed on the AJAX request.
<b>Notice</b>: ob_end_flush(): failed to send buffer of zlib output compression (0) in <b>/home/helloctri/public_html/wp-includes/functions.php</b> on line <b>3092</b>
So if you disable the WP_DEBUG on this server or lower the level of Error reporting you will be able to do these requests.
Can you check and if it doesn’t solve reply and I will try to debug it further.
My best Regards,
March 2, 2015 at 8:20 am #945477Joshua HayParticipantAwesome, it’s working now.
This issue also happened on other sites that did not have wp_debug on…
Do you know any other reasons off the top of your head that might cause this problem?
March 2, 2015 at 7:18 pm #945612Gustavo BordoniKeymasterFirst I’m very glad it’s working again.
I would that there might be a plugin, something on your server or theme that had the <b>E_NOTICE</b> level of errors been shown on screen.
I can suggest you to take a look at the wp-config.php file exemple for that on the Codex, which points how to ensure that your Errors are printed to a Log file instead of the screen, which as you already saw can cause problems.
If you want to debug, you can also use Debug Bar a plugin that will help you with that.
As you said, the issue is resolved so I will close the thread and mark the correct answer.
My Best Regards,
-
AuthorPosts
- The topic ‘Filter Bar Freezes Site’ is closed to new replies.