The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
AI Assistant
Nonce is invalid er...
 
Notifications
Clear all

Bug [Solved] Nonce is invalid error in v7.6.47 with cloudflare

6 Posts
3 Users
0 Reactions
157 Views
(@sunmed)
Posts: 4
Active 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
 
[#11342]

Hello,

Since I updated to version 7.6.47, my readers can no longer post comments; they receive a "nonce is invalid" error. i have cloudflare + APO cloudflare

I don't have this problem when I bypass Cloudflare by hardcoding my server's IP address in the hosts file.

The only solution I found was to roll back to version 7.6.46, and that resolved the issue temporarly. Readers were complaining about no longer being able to comment on articles.

I'm waiting for a solution in a future plugin update. The problem is the same after cleaning all cache. Only rollback in 7.6.46 is ok for the moment.

Thanks


This topic was modified 3 weeks ago by sunmed
 
Posted : 14/03/2026 4:04 pm
(@sunmed)
Posts: 4
Active 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
 

for precision:

Since updating to wpDiscuz 7.6.47 (March 11, 2026), visitors receive a "nonce is invalid" error when submitting comments. Reverting to the previous version immediately resolves the issue. The site is hosted behind Cloudflare, but the behavior is directly related to the 7.6.47 update. Please investigate whether there is a regression related to nonce validation/AJAX calls. Maybe


 
Posted : 14/03/2026 4:10 pm
Asti
 Asti
(@asti)
Posts: 8284
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
 

@sunmed 

Please use the hook code below:

add_filter(“wpdiscuz_validate_nonce_for_guests”,”__return_false”)

Insert this code into the functions.php file of your active WordPress theme.

Helpful instructions:
https://www.wpbeginner.com/plugins/how-to-allow-php-in-wordpress-posts-and-pages/


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 : 16/03/2026 3:00 pm
(@sunmed)
Posts: 4
Active 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
 

Hello,

 

in my case the good line is:

add_filter('wpdiscuz_validate_nonce_for_guests', '__return_false');

it is ok now in 7.6.47

Thanks a lot for help


 
Posted : 16/03/2026 5:18 pm
(@userwpdiscuz)
Posts: 1
New Member
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’ve been having the same issue on my site for a while now. Visitors can’t leave commentsthe comments aren’t even showing up. When I try to leave a comment, it saysnonce is invalid.” It works fine when I disable the plugin.

 

 
Posted : 17/03/2026 7:33 am
Asti
 Asti
(@asti)
Posts: 8284
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
 

@userwpdiscuz

Please open your own support topic, as this one has already been resolved. All other posts you added here have been removed.


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 : 17/03/2026 11:10 am