I am trying to:
Filter service providers by Hospital Affiliation.
Link to a page where the issue can be seen:
hidden link
Video Overview:
hidden link
I expected to see:
After selecting the "Palms of Pasadena Hospital" checkbox under the Hospital Affiliation filter the only result should be Gunn, Jinny, MD. Another example of this is "Parkside Surgery Center" which should only show the result of Greene, Daina P., MD.
Instead, I got:
The proper result shows at the top after AJAX automatically filters but it's followed by a bunch of random service providers that do not belong to that taxonomy. If I refresh the page (while keeping the URL parameters from the AJAX reload in the URL) then the proper result of the one service provider shows. Additionally, if you change the checkbox after the first AJAX refresh (check one box then uncheck it and check it again) then it shows "no results" which is even worse than showing the extra results.
Hi,
Thank you for contacting us and I'd be happy to assist.
Based on what you've shared, most likely your server (WP Engine) or the CDN (Cloudflare) is caching the AJAX request and/or queries.
Are you experiencing the same on the production website too? I'll recommend testing the website's clone on different localhost or online server where Cloudflare is not being used and see if the issue persists. This will help in narrowing down whether the server or CDN is responsible for this.
I hope this helps and let me know how it goes.
regards,
Waqar
Hello,
I've moved the site to an another DEV server that does not have WP caching or server caching in place: hidden link
Same issues as on the WPengine site. This new DEV environment uses the same UN and PW as I previously provided.
Thank you,
Thank you for sharing this update.
During troubleshooting on your WPengine staging website, I noticed that the issue is fixed if the transition effect is changed to anything other than "Infinite scrolling" in the view "Find A Provider".
( screenshot: hidden link )
However, I couldn't reproduce this same issue with the "Infinite scrolling" on my test website, which suggests that something specific to your website is involved.
To investigate this further, I'll need your permission to download a clone/snapshot of the website. This will help us in troubleshoot this on a different server, without affecting the actual website.
Ok, please proceed. Thank you
Thank you for the permission.
I managed to install your website's clone on my test server and the issue persisted with the view's results.
I've shared these findings with the concerned team for further investigation and will keep you updated through this ticket.
For now, the workaround is to change the transition effect in the view "Find A Provider", to anything other than the "Infinite scrolling" option.
Thank you for waiting and I've received an update.
The issue with infinite scrolling is fixed when a theme is switched, which suggests that something in your active theme's code is interfering with the default functionality.
It won't be possible for us to troubleshoot the custom code in the theme specifically, however, there are a number of functions in the theme's "custom.js" file which are responsible for triggering the search form submit programmatically. I'll recommend focusing on this file while troubleshooting this custom code conflict.