Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #3671974
Permissions check failed
Open

Comments

  • Sky started the conversation

    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. 

  •  1,222
    Dustin replied

    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? ↗):

    add_filter( 'wpcas_disable_security_check', '__return_true' );

    Best regards,
    Dustin