Not able to make new posts – database error
I’ve been running 0.9.4 for about six months now without major problems but today something happened. No new posts can be made and the following error displays:
bbPress database error: [Duplicate entry '7582' for key 1]
INSERT INTO bb_posts (<code>topic_id</code>,<code>post_text</code>,<code>post_time</code>,<code>poster_id</code>,<code>poster_ip</code>,<code>post_status</code>,<code>post_position</code>,<code>forum_id</code>) VALUES ('6','
test post text text text text
Warning: Cannot modify header information - headers already sent by (output started at /path-to-bbpress/bb-includes/db-mysql.php:130) in /path-to-bbpress/bb-includes/pluggable.php on line 232
New posts get registered in the latest-discussions list but the link to them is “#post-0″ and they don’t display in the actual topic, nor in the admin panels. They actually don’t exist in the DB.
The last existing post in bb_posts is with post_id of 7581
Luckily I have a working backup before the error occurred but I want to know what might have caused it.
You must be logged in to reply to this topic.