Title: bbPress compatibility error
Last modified: November 11, 2022

---

# bbPress compatibility error

 *  Resolved [Terry](https://wordpress.org/support/users/oxwalor/)
 * (@oxwalor)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/bbpress-compatibility-error/)
 * Hi guys,
 * This error is popping up in admin panel when editing BBPress posts:
 * `Fatal error: Uncaught TypeError: Argument 1 passed to Algolia_Search::should_filter_query()
   must be an instance of WP_Query, instance of BBP_User_Query given, called in /
   wp-content/plugins/wp-search-with-algolia/includes/class-algolia-search.php on
   line 275 and defined in /wp-content/plugins/wp-search-with-algolia/includes/class-
   algolia-search.php:76 Stack trace: #0 /wp-content/plugins/wp-search-with-algolia/
   includes/class-algolia-search.php(275): Algolia_Search->should_filter_query(Object(
   BBP_User_Query)) #1 /wp-includes/class-wp-hook.php(308): Algolia_Search->begin_highlighting(
   Object(BBP_User_Query)) #2 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('',
   Array) #3 /wp-includes/plugin.php(565): WP_Hook->do_action(Array) #4 in /wp-content/
   plugins/wp-search-with-algolia/includes/class-algolia-search.php on line 76`

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [3 years, 7 months ago](https://wordpress.org/support/topic/bbpress-compatibility-error/#post-16190654)
 * Are you doing any custom work with Algolia indexing? Somehow a `BBP_User_Query`
   is being passed into the `should_filter_query` method somewhere, and based on
   internal code, it’s only used in places that would be working with post types.

Viewing 1 replies (of 1 total)

The topic ‘bbPress compatibility error’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/bbpress-compatibility-error/#post-16190654)
 * Status: resolved