I was having this issue and from this thread I did just what it says there but to wp_comments.
Hey thanks for the reply however this isn’t the problem. The table is setup to correctly auto increment and I am not getting any errors when a new comment is posted. It is just not updating the “comment_count” field of the wp_posts table.
I’m having a similar problem. My comment count goes from zero to 1 ok but then reads 1 no matter how many comments there are.
Here’s a thread that may help if you are running Spam Karma.
http://wordpress.org/support/topic/78996?replies=7
I just upgraded to WordPress 2.5. I am having a similar problem (but not quite the same), so I started a new thread since it deals with a completely different version of WordPress:
http://wordpress.org/support/topic/164510
(@num1badz)
18 years, 11 months ago
I upgraded my site to 2.1 today and everything seems to be working well except the number of comments showing. It says zero even if there are comments.
I looked in the database the comment_count field is staying zero even though there are comments (and I have added more as tests). Any idea what could be causing this?