@danbp I think you very kindly helped me out with this same issue when it happened a while ago. Do you know how I can fix it?
Hope you’re well 🙂
Hi Julia,
it’s a bbPress bug, patched a while ago, but still in. Maybe a day it will be repaired definetly.
For the moment, you can repair yourself. Open activity.php in wp-content/plugins/bbpress/includes/extend/buddypress/
Replace following code block at line 277/279:
$existing = bp_activity_get_specific( array( 'activity_ids' => $activity_id, 'show_hidden' => true, 'spam' => 'all', ) );
if ( empty( $existing['total'] ) || ( 1 !== (int) $existing['total'] ) )
return null;
by
$existing = new BP_Activity_Activity( $activity_id );
if ( empty( $existing->component ) ) {
return null;
}
Save and reload to to your site by FTP and you’re done.
@danbp Worked a charm. You rock! 🙂
You’re welcome. But it’s not me who rocks, but the patch author @shanebp !
FYI The issue is resolved for what will be bbPress 2.6.
Just had to use this fix again after the latest bbpress update so thanks again @danbp and @shanebp!