Ok, i have something that seems to work, try it out if you want to, feel free to give me feedback on it.
function fix_default_search_string_is_bool($args)
{
//bbpress gives FALSE as search string causing no replys to show, this fixes it.
if ($args['s'] === false) {
unset($args['s']);
}
return $args;
}
add_filter('bbp_after_has_replies_parse_args', 'fix_default_search_string_is_bool');
Hi, i have the same error after only updating wordpress, not bbpress. Any solution to this ?
SQL is triggered in bbp_has_replies in wp-content/plugins/bbpress/includes/replies/template.php but it has not changed.
I copied the code from the bbpress template and it worked perfect. Thanks!
Oh thanks great. My bbpress version was edited so that button is not added to the form. But i guess i have to add it with some code. Thanks