#49 closed defect (bug) (invalid)
can't delete the last post of a thread
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | General - Administration | Keywords: | |
Cc: |
Description
If a try to delete the last post (it's the only post) of a thread I get the following errors which make that I can't delete the post.
Errors displayed:
WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near at line 1]
SELECT username FROM bb_users WHERE user_id =
WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' topic_last_poster_name = , topic_last_post_id = , topic_post]
UPDATE bb_topics SET topic_time = , topic_last_poster = , topic_last_poster_name = , topic_last_post_id = , topic_posts = topic_posts - 1 WHERE topic_id = 1
Warning: Cannot modify header information - headers already sent by (output started at /home/content/s/o/t/soteke/html/bbpress/bb-includes/db.php:82) in /home/content/s/o/t/soteke/html/bbpress/bb-admin/delete-post.php on line 23
Is there any way to delete a whole thread?
ok, I updated to the last version, and first got a foreach() error but then I wrote a post and deleted it, and the thread finally was deleted.