WP Engine – KILLED QUERY (16639 characters long generated in…

Table of Contents

Known issue between FiboSearch and WP Engine

If you are a user of WP Engine hosting, you might’ve encountered problems while using FiboSearch. The problems include:

  • Search-related tasks
  • Some products are not being indexed
  • Indexer getting stuck

The reason is that WP Engine limits long queries (longer than 1024 characters) for performance reasons. The code presented in the Solution section prevents that and fixes the problems.

Solution

A solution for this issue is to add a constant to your wp-config.php file:

define( 'WPE_GOVERNOR', false );