If you are hosting your website on WP Engine, it is possible you run into several issues with indexing, filtering and showing results. The following are known fixes for specific issues:

Disable WPE_Governor

If you experience problems with FacetWP’s indexer stalling or not indexing all your posts, facets not functioning correctly (e.g. becoming empty after filtering), or no search results after using a Search facet, try disabling WP Engine’s “WPE_Governor” by adding the following line to wp-config.php (not to functions.php):

How to use custom PHP code?

PHP code can be added to your (child) theme's functions.php file. Alternatively, you can use the Custom Hooks add-on, or a code snippets plugin. More info

define( 'WPE_GOVERNOR', false );

WP Engine limits long queries (longer than 1024 characters) for performance reasons. The above line in wp-config.php prevents this. At the time of writing this feature is undocumented in their support site.

Add FacetWP’s API URL to WP Engine’s cache exclusions

If you have problems with new or imported posts not showing up in the results, or a “FacetWP was unable to auto-detect the post listing” error, the cause can be that WP Engine is caching FacetWP’s API URL:

/wp-json/facetwp

Reach out to WP Engine support and ask them to add the above URL to your account’s custom cache exclusion list.

Disable WP Engine’s object cache

Object caching is in general problematic with FacetWP, in most cases. We’ve seen many users in support with problems related to WP Engine’s object cache specifically. The issue is caused by the object cache ignoring FacetWP’s query parameters in the URL and using the same cached query regardless of query parameters being present. This results in two different issues if the query is already cached:

If you experience these issues, try disabling WP Engine’s Object Cache:

Disable WP Engine's Object Cache.
Disable WP Engine’s Object Cache.

To do so:

  1. Log in to the User Portal
  2. Select the environment name you’d like to enable object caching on
  3. Click Caching
  4. Locate Object cache and toggle to Off

It may be possible to exclude pages with facets from the object cache, or to let the object cache include query parameters in the URL. If you find a way to do this, or if WP Engine support helped you with this, please let us know.

WP Engine and Timber

There may be an (inconclusive) connection between using Timber with Timber caching, and WP Engine caching. We’ve seen this particular combination causing an intermittent “FacetWP was unable to auto-detect the post listing” error. See our Timber page for possible fixes, and our FAQ about this error for other possible causes.

WP Engine and Pods Alternative Cache

A performance tip: if you are hosting your website on WP Engine, and your site is using the Pods plugin, experiment with the Pods Alternative Cache add-on plugin. It was developed for and tested specifically on the WP Engine platform to improve the performance of cached objects generated from Pods (but it works on other hosting providers too). See the page about our (decommissioned) Pods add-on page for more info.

How to access WP Engine error logs

WP Engine has its own error logs. There are two ways to view these logs: in the WP Engine User Portal and in your WordPress admin dashboard, in WP Engine > Information > Access and Error Logs > Current error logs. In your WP Engine User Portal, the logs can be easily searched, filtered, and downloaded without needing access to the website’s backend.

Additionally, you can use WordPress’ built-in debug feature, which is not a WP Engine-specific log. First enable WP_DEBUG and WP_DEBUG_LOG in your wp-config.php file. Then (after using the site, and possibly triggering errors), go to your site’s wp-content/ directory on your server and find the text file called debug.log. Open it in a text editor to view your server’s error log.

See also

Last updated: June 8, 2026