comments added in DB with ID 0
-
Hey dear wordpress-community,
I’ve recently got an issue with my blog: the comments-counter went crazy. I should have some pending comments but there weren’t any and posts should have a way to big amount of comments.
Today, a look in the database revealed the issue: a whole bunch of comments were double in the database (with the same comment_id), in regarding to this phpmyadmin complained there isn’t a unique index, as well as the last couple of comments multiple times (up to 5) and with comment_id=0. Accordingly, these second kind of comments didn’t get displayed in all in front or the back end.
I tried to add new comments as admin user and anonymous but all got the id 0.
I cleaned the db (ID) per hand, fortunately there wasn’t to much comments.
I deleted all duplicates and gave the ID=0 ones a running number. Accordingly, I could see them in wordpress now.Do you have any solution, I would be so happy ??
Thanks in advanced
ErikThe page I need help with: [log in to see the link]
- The topic ‘comments added in DB with ID 0’ is closed to new replies.