The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Sometimes 2 comment...
 
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.

 

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

9 Posts
2 Users
0 Reactions
841 Views
Posts: 124
Topic starter
(@danniee)
Estimable Member
Joined: 5 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: 8075
 Asti
Support
(@asti)
Illustrious Member
Joined: 8 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: 124
Topic starter
(@danniee)
Estimable Member
Joined: 5 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: 124
Topic starter
(@danniee)
Estimable Member
Joined: 5 years ago

Deactivating WP Rocket cache or Redis made no difference.

Posts: 124
Topic starter
(@danniee)
Estimable Member
Joined: 5 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: 8 years ago

Illustrious Member
Posts: 8075

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: 5 years ago

Estimable Member
Posts: 124

@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: 8 years ago

Illustrious Member
Posts: 8075

@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: 5 years ago

Estimable Member
Posts: 124

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

Share: