The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Comment count incor...
 
Share:
Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

[Solved] Comment count incorrect

6 Posts
2 Users
1 Reactions
2,963 Views
Posts: 7
Topic starter
(@knhsb)
Active Member
Joined: 5 years ago

Hi, on https://www.duurzaamthuis.nl/huishouden/schoonmaken the comment count is 6, but there are only 2 comments visible in front end. This aligns with the backend, there are supposed to be only 2 comments on that page.

I've also seen examples where the count says 2, but there are 0 comments visible (both front end back end).

Is there a way to trigger recount or some other known issues around this?

5 Replies
Asti
Posts: 8075
 Asti
Support
(@asti)
Illustrious Member
Joined: 8 years ago

@knhsb,

Try to delete all kind of caches and check again. 

4 Replies
(@knhsb)
Joined: 5 years ago

Active Member
Posts: 7

@asti thanks, tried but doesnt help. I've tried it on my test environment with all plugins deactivated except for wpdisquz, and a standard theme: https://staging.duurzaamthuis.nl/huishouden/schoonmaken. Still the same result. Any ideas?

Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8075

@knhsb,

wpDiscuz uses WordPress native (core) get_comments_number() function for this. Probably the wrong number is being saved in the database. 

(@knhsb)
Joined: 5 years ago

Active Member
Posts: 7

@asti @Thanks, it's indeed a database issue, unrelated to wpdiscuz. Probably after importing the website. Found a few tutorials on fixing it like this one https://www.wpbeginner.com/wp-tutorials/how-to-fix-category-and-comment-count-after-wordpress-import/.

Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8075

Thank you for letting us know. Glad to hear the issue is solved.

Share: