The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Login users cant po...
 
Share:
Notifications
Clear all

Login users cant post comments

5 Posts
2 Users
0 Reactions
221 Views
Posts: 3
 Halk
Topic starter
(@halk)
Active Member
Joined: 2 months ago
4 Replies
Posts: 3
 Halk
Topic starter
(@halk)
Active Member
Joined: 2 months ago

I’m experiencing an issue on my staging site (test.historact.com) where guest visitors can post comments via wpDiscuz without any problem, but as soon as I log in as a Subscriber or higher, clicking “Post Comment” triggers an AJAX request to /wp-admin/admin-ajax.php that returns { "success": false, "data": { "message": "Invalid nonce" } }. My setup is WordPress 6.8.1 with the Reign child theme, BuddyBoss Platform (free), wpDiscuz 8.x, LiteSpeed Cache on the server, Cloudflare (free plan proxy/CDN), and SuperPWA for service-worker caching. I have paused Cloudflare, added a “Bypass Cache on Cookie” rule for wordpress_logged_in_…, created a cache-bypass rule for the AJAX endpoint, and purged all caches; I have also disabled “Cache Logged-in Users” in LiteSpeed and excluded /wp-admin/admin-ajax.php, and excluded the comment pages and AJAX endpoint from SuperPWA precaching. I have confirmed that each logged-in request includes a valid‐looking wpdiscuz_ajax_nonce value in the payload, yet the nonce is still rejected. Could you advise if there are any known conflicts with Cloudflare or LiteSpeed that might cause this, whether there is a debug mode or extra logging I can enable in wpDiscuz to trace the failure, or any configuration tweaks to allow subscribers to comment successfully under this setup?

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

Illustrious Member
Posts: 8059

@halk 

Please try excluding the wpDiscuz plugin from the LiteSpeed Cache plugin settings.

Reply
 Halk
(@halk)
Joined: 2 months ago

Active Member
Posts: 3

@asti i have already down that I tried excluding the post page from being cached but its didn’t work and i also tried to exclude /admin-ajax.php/ but its didn’t work

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

Illustrious Member
Posts: 8059

Sorry, for the late response. 

This kind of issue is usually caused by either conflict with other plugins or the active theme. Please deactivate the plugins/theme one by one and check after each deactivation to find the problem maker. Firstly, deactivate the recently installed/updated plugins.

Keep the cache plugin deactivated during this testing process.

Reply
Share: