Query builder include post (search) is not working

Description:

in a post single, I have created a collection (query loop) so that our SEO person can use it and just manually pick the content to show in the query loop, we called it “Hand Picked Section”

it works fine until today we found out that when we trying to search for a blog, it gives the 500 error with this error message, please see screenshot:


This happened I believe after the filter block update.

Environment info

  • WordPress version: 6.0.1
  • Gutenberg Plugin version: -
  • Cwicly Plugin version: 1.1.9.2
  • Cwicly Theme version: 1.0.3

@Louis any chance to look into this issue? or am I the only one experiencing this?

It seems to work if you type more than 3 characters no?

When looking at your debug log, this appears:

[26-Aug-2022 17:11:19 UTC] WordPress database error Commands out of sync; you can't run this command now for query SELECT option_value FROM wp_options WHERE option_name = 'regex_html_post_process' LIMIT 1 /* From [***/wp-json/cwicly/v1/cwicly_dynamic_preview?keyword=ope&_locale=user] in [N/A] */ made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, wp_ob_end_flush_all, ob_end_flush, WpeCommon->filter_html_output, WpeCommon->get_regex_html_post_process, get_site_option, get_network_option, get_option

So it might be a caching issue, or maybe a memory issue, although I don’t see any errors related to that. Might be a good idea to contact your host.

Thanks for looking into this, I will reach to our hosting , in this case WPEngine, to see if something is happening.

Confirmed its a WPEngine cache issue. We can search again after cleaning the WP Engine Cache. Thanks Louis

Hi @lukelee,

Thanks for getting back to me on this one.
In case you experience the same issue again, please reopen this thread so that we know where to go from.
Have a good one!