The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Sometimes 2 comment...
 
Share:
Notifications
Clear all

Bug [Solved] Sometimes 2 comments, sometimes 10.3K comments

9 Posts
2 Users
0 Reactions
558 Views
Posts: 115
Topic starter
(@danniee)
Estimable Member
Joined: 4 years ago

Hi,

I have just noticed that usually it will say 0 Comments or 2 Comments, but sometimes totally randomly it will say 10.5K Comments which I assume is the total comment count on the website. Any idea why?

8 Replies
Asti
Posts: 7623
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

There are two possible reasons for this issue. 

1. The cache plugin causes the issue.

2. There is another plugin that also uses the get_comments_number() function and messes up the wpDiscuz functions. 

Posts: 115
Topic starter
(@danniee)
Estimable Member
Joined: 4 years ago

Hi, ok so I thought this was because of me using a new cache plugin called LSCache, but I switched back to my old cache plugin WP Rocket and I still see this. I don't think this was the case during the 3+ years I've been using this plugin.

I can see it display 2 comments and then totally randomly (after 20-30 seconds) it switches to display 10.5K comments, which is really weird. Why would it do that even if it was something to do with cache?

To my knowledge, I did not add any new plugin that would use the get_comments_number() function.

Posts: 115
Topic starter
(@danniee)
Estimable Member
Joined: 4 years ago

Deactivating WP Rocket cache or Redis made no difference.

Posts: 115
Topic starter
(@danniee)
Estimable Member
Joined: 4 years ago

I deactivated:

- Combine JS and CSS Files to Optimize Page Loading Speed
- Minify JS and CSS Files to Optimize Page Loading Speed
- Live Update

And the issue seems to have gone away...

4 Replies
Asti
 Asti
Support
(@asti)
Joined: 7 years ago

Illustrious Member
Posts: 7623

Please reactivate back all the wpDiscuz settings and the WP Rocket cache plugin (keep deactivating only the Redis cache). Let us know how it works. 

(@danniee)
Joined: 4 years ago

Estimable Member
Posts: 115

@asti like I said, I already tried deactivating Redis and it made no difference. The thing that helped was to deactivate the above mentioned wpdiscuz settings.

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

Illustrious Member
Posts: 7623

@danniee,

We don't see any issues with the options you've mentioned. For further support, we need to get the answer to the step mentioned in this post: https://wpdiscuz.com/community/troubleshooting/sometimes-2-comments-sometimes-10-3k-comments/#post-21450

(@danniee)
Joined: 4 years ago

Estimable Member
Posts: 115

@asti my problem is solved by deactivating these settings, so all is good now. Thanks.

Share: