You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dokan_pageview action has a conflict with cache plugins.
Description
The issue arises because dokan_pageview uses a nonce that expires after approximately 24 hours. When the nonce expires, any cached product page triggers a 403 Forbidden error in the browser's console, displaying:
Error: admin-ajax.php access denied
This issue affects all Dokan-powered websites using caching plugins that cache product pages.
Tested on various Dokan websites from my personal list.
Bug Description
Issue Summary
The dokan_pageview action has a conflict with cache plugins.
Description
The issue arises because dokan_pageview uses a nonce that expires after approximately 24 hours. When the nonce expires, any cached product page triggers a 403 Forbidden error in the browser's console, displaying:
Error: admin-ajax.php access denied
This issue affects all Dokan-powered websites using caching plugins that cache product pages.
Tested on various Dokan websites from my personal list.
Step To Reproduce
Enable a cache plugin (e.g., LiteSpeed Cache, WP Rocket, etc.).
Visit a product page while the dokan_pageview nonce is valid.
Allow the nonce to expire (typically 24 hours).
Revisit the same cached product page.
Check the browser console for a 403 Forbidden error.
The text was updated successfully, but these errors were encountered: