Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Problem deleting posts


chrishajer
Participant

@chrishajer

I don’t think the problem is with deleting a whole topic when there’s only one post in it. The problem as I understand it is that when deleting the only post in a topic, this error occurs.

I just verified that this occurs on a trunk installation (r1794) if you try to delete the only post of a topic.

Warning: Invalid argument supplied for foreach() in /homepages/46/d93980635/htdocs/trunk/bb-includes/functions.php on line 527

That was my point a couple posts ago. bbPress should handle this, or remove the option to delete the post if it’s the only post on a topic, but in reality, administrators should be deleting the whole topic, not the only post in that topic. When you delete the only post of a topic, what are you expecting to be left over?

The post is gone, and the thread no longer shows up in the front page forum list, but I think bbPress or the administrator could be smarter about how to accomplish what we’re really trying to do here.

Skip to toolbar