The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Sometimes 2 comment...
 
Notifications
Clear all

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

9 Posts
2 Users
0 Reactions
1,110 Views
Posts: 124
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
(@danniee)
Estimable Member
Joined: 5 years ago
[#7484]

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: 8211
 Asti
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
(@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
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
(@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
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
(@danniee)
Estimable Member
Joined: 5 years ago

Deactivating WP Rocket cache or Redis made no difference.


Posts: 124
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
(@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: 8211
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

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
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

@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: 8211
Asti
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

@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
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

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


Share: