Comments Sky started the conversationJune 22, 2024 at 4:07pmHi, I'm using your plugin "WPC AJAX Search for WooCommerce" and I think I found a bug. After a non logged-in user adds product to the cart and then tries to use search function, it doesn't work and shows "Permissions check failed" errorIt works without a problem from administrator view and also works before the customer adds product to the cartI tried disabling all other plugins, but I still get this error. Also checked with the hosting provider and they found no issue from our side. 1,222Dustin repliedJune 24, 2024 at 8:27amHi Sky,It seems related to https://docs.wp-rocket.me/article/975-nonces-and-cache-lifespan, so please try to set the cache lifespan to 10 hours or less.If it doesn't work, please update our plugin to the latest version, 2.3.5, and then add the custom code below. (How to add custom code? ↗): add_filter( 'wpcas_disable_security_check', '__return_true' );Best regards,Dustin Sign in to reply ...
Hi, I'm using your plugin "WPC AJAX Search for WooCommerce" and I think I found a bug.
After a non logged-in user adds product to the cart and then tries to use search function, it doesn't work and shows "Permissions check failed" error
It works without a problem from administrator view and also works before the customer adds product to the cart
I tried disabling all other plugins, but I still get this error. Also checked with the hosting provider and they found no issue from our side.
Hi Sky,
It seems related to https://docs.wp-rocket.me/article/975-nonces-and-cache-lifespan, so please try to set the cache lifespan to 10 hours or less.
If it doesn't work, please update our plugin to the latest version, 2.3.5, and then add the custom code below. (How to add custom code? ↗):
Best regards,
Dustin