• Resolved Terry

    (@oxwalor)


    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

    (@tw2113)

    The BenchPresser

    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.