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
201 Views
Posts: 4
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
(@sunmed)
Active Member
Joined: 2 months ago
[#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


5 Replies
Posts: 4
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
(@sunmed)
Active Member
Joined: 2 months ago

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


1 Reply
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8283
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/


Posts: 4
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
(@sunmed)
Active Member
Joined: 2 months ago

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


Posts: 1
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)
New Member
Joined: 1 month ago

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.

 

1 Reply
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8283
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.