Skip Navigation

[Resolved] Faceted Search by Multiple Taxonomies: All Terms Unavailable

This thread is resolved. Here is a description of the problem and solution.

Problem: I have a custom search View that includes several taxonomy select filters. Some of the taxonomy terms do not appear in the filter list.

Solution: In this case, the WP Engine backend has a limit on the size of SQL queries your site can perform. You can disable that limit using this custom code in wp-config.php:

define( 'WPE_GOVERNOR', false );
This support ticket is created 6 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 17 replies, has 2 voices.

Last updated by Christian Cox 6 years, 7 months ago.

Assisted by: Christian Cox.

Author
Posts
#924677

Done!

#947809

Okay thanks, that seems to have resolved the original problem where some terms are unavailable. Can you confirm? I turned on all the year terms.

#948353

I can confirm!!!! It's a little slow, but IT WORKS!

What does that hook do?

#948475

Basically it turns off the default SQL Query length limitations enforced by WPEngine. The problem seems to be that one or more of the SQL queries required for this View exceeded the standard WPEngine query length limitations. This line should turn off those length limitations.