New Relic Compatibility
If your server is using New Relic, you will likely experience issues with FacetWP. The facets will keep spinning infinitely, and this error will appear in your browser console:
Uncaught SyntaxError: Unexpected token t
New Relic is a performance monitoring application. It tracks user activity and application performance, including page load timing.
The problem is that New Relic inadvertently injects itself into FacetWP’s ajax response. Since the scripts aren’t properly escaped, it breaks the JSON object.
There are several options to resolve the issue: