Title: Error
Last modified: July 22, 2026

---

# Error

 *  Resolved [OgdenNews](https://wordpress.org/support/users/ogdennews/)
 * (@ogdennews)
 * [2 weeks, 2 days ago](https://wordpress.org/support/topic/error-1975/)
 * We are currently running PHP8 and WordPress 7.0.2 the search plugin seems to 
   quit working properly. When you go to the site and search it brings up obits 
   only when it should be checking the whole site.
 * Here is my filter code.
 * _/** * Add filter query conditions to cloud search */
   function add_filter_query_conditions(
   $extra_conditions ) {
 * include(_ONI\_ABSPATH _. ‘assets/settings/’ . _DB\_NAME _. ‘/’ . ‘variables.php’);
 * $myURL = parse_url($_SERVER[‘HTTP_REFERER’], _PHP\_URL\_QUERY_);
 * $dfp_array = get_option(‘global_dfp’);
 * if(isset($myURL) == “search_cat=obits”) {
   $extra_conditions = “(and site_id:'”.
   $request_cloudsearch_site_id . “‘ category:’Obituaries’)”;} else {//$extra_conditions
   = “(and (not category:’Uncategorized’) site_id:'” . “‘$request_cloudsearch_site_id’)”;
   $extra_conditions = “(and site_id:$request_cloudsearch_site_id)(not category:’
   Uncategorized’)”;}return $extra_conditions;
 * };
   add_filter( ‘acs_add_filter_query_conditions’, ‘add_filter_query_conditions’,
   10, 1 );
 * There are no redirects on the site I checked.
 * Any Help would be appreciated.
    -  This topic was modified 2 weeks, 2 days ago by [OgdenNews](https://wordpress.org/support/users/ogdennews/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-1975%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [OgdenNews](https://wordpress.org/support/users/ogdennews/)
 * (@ogdennews)
 * [2 weeks, 2 days ago](https://wordpress.org/support/topic/error-1975/#post-18972363)
 * Problem Resolved.

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-1975%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/cloud-search/assets/icon-256x256.png?rev=1350439)
 * [CloudSearch](https://wordpress.org/plugins/cloud-search/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cloud-search/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cloud-search/)
 * [Active Topics](https://wordpress.org/support/plugin/cloud-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cloud-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cloud-search/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [OgdenNews](https://wordpress.org/support/users/ogdennews/)
 * Last activity: [2 weeks, 2 days ago](https://wordpress.org/support/topic/error-1975/#post-18972363)
 * Status: resolved