The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
[Solved] Comment count incorrect
✦ Summarize Topic
✦
✦
✦
AI is analyzing the discussion...
How-to and Troubleshooting
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Mar 11, 2021 1:44 pm
(@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?
This topic was modified 5 years ago by
knhsb
Support
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Mar 11, 2021 2:14 pm
(@asti)
Illustrious Member
Joined: 8 years ago
@knhsb,
Try to delete all kind of caches and check again.
(@knhsb)
Joined: 5 years ago
Active Member
Posts: 7
Mar 11, 2021 3:06 pm
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
@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)
Joined: 8 years ago
Illustrious Member
Posts: 8208
Mar 12, 2021 4:47 pm
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
@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
Mar 15, 2021 1:49 pm
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
@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)
Joined: 8 years ago
Illustrious Member
Posts: 8208
Mar 15, 2021 1:51 pm
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Thank you for letting us know. Glad to hear the issue is solved.