The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Bug [Solved] Nonce is invalid error in v7.6.47 with cloudflare
Summarize Topic
✦
✦
✦
AI is analyzing the discussion...
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
Show original
Translating...
Mar 14, 2026 4:04 pm
(@sunmed)
Active Member
Joined: 3 months ago
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 months ago by
sunmed
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
Show original
Translating...
Mar 14, 2026 4:10 pm
(@sunmed)
Active Member
Joined: 3 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
(@asti)
Joined: 8 years ago
Illustrious Member
Posts: 8300
Mar 16, 2026 3:00 pm
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
Show original
Translating...
@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/
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
Show original
Translating...
Mar 16, 2026 5:18 pm
(@sunmed)
Active Member
Joined: 3 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
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
Show original
Translating...
Mar 17, 2026 7:33 am
(@userwpdiscuz)
New Member
Joined: 3 months ago
I’ve been having the same issue on my site for a while now . Visitors can’t leave comments — the comments aren’t even showing up . When I try to leave a comment , it says “ nonce is invalid .” It works fine when I disable the plugin .
(@asti)
Joined: 8 years ago
Illustrious Member
Posts: 8300
Mar 17, 2026 11:10 am
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
Show original
Translating...
@userwpdiscuz
Please open your own support topic, as this one has already been resolved. All other posts you added here have been removed.
Super Globals
Options and Features