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,233 Views
(@danniee)
Posts: 124
Estimable Member
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
 
[#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?


 
Posted : 13/07/2023 12:54 am
Asti
 Asti
(@asti)
Posts: 8264
Illustrious Member 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
 

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. 


In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.

 
Posted : 13/07/2023 12:04 pm
(@danniee)
Posts: 124
Estimable Member
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
 

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.


 
Posted : 04/08/2023 12:34 am
(@danniee)
Posts: 124
Estimable Member
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
 

Deactivating WP Rocket cache or Redis made no difference.


 
Posted : 04/08/2023 12:41 am
(@danniee)
Posts: 124
Estimable Member
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
 

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


 
Posted : 04/08/2023 12:49 am
Asti
 Asti
(@asti)
Posts: 8264
Illustrious Member 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
 

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. 


In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.

 
Posted : 04/08/2023 3:38 pm
(@danniee)
Posts: 124
Estimable Member
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
 

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


 
Posted : 04/08/2023 4:22 pm
Asti
 Asti
(@asti)
Posts: 8264
Illustrious Member 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
 

@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


In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.

 
Posted : 05/08/2023 2:10 pm
(@danniee)
Posts: 124
Estimable Member
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
 

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


 
Posted : 06/08/2023 1:39 pm