Reply To: Problem with trashing a topic?
bbpress uses custom post types, so uses their status in the posts table (not post meta) to determine whether to display.
So on trashing a topic, I would expect the post_status on the posts table to be changed to trash.
To enable you to ‘untrash’ a topic (say if it was a mistake) in tbe post_meta table, I would then expect to see
_bbp_pre_trashed_replies a:4:{i:0;i:33965;i:1;i:33963;i:2;i:33959;i:3;i:33956;}
_wp_trash_meta_status publish
_wp_trash_meta_time 1748443956
The trash status being the status BEFORE it was trashed, so that it can go back to this if you made a mistake.
I am not sure what the other statuses are doing there, if you have been trashing and untrashing, other stuff might happen, and other bbpress plugins might be adding things.
I’d suggest you try creating a test topic and then trashing it, and seeing what happens, so that you can see a ‘clean’ set of entries.
If you still have problems, then it could be a theme or plugin issue, so I’d try creating and trashing a topic with the below happening.
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.