Menu WooCommerce Log out link not generating nonce correctly.

This topic has 2 replies, 2 voices, and was last updated 10 months, 1 weeks ago ago by Tony Rodriguez

  • Avatar: Digital Humanity
    Markius Flavious
    Participant
    January 12, 2024 at 17:32

    WooCommerce customers cannot logout because the logout link in the header menu does not correctly generate a nonce.

    Very easy to recreate the issue on the site in 2 steps:

    1. Create a new WooCommerce customer account.

    2. Mouse over the the account icon in the header and click on log out. You will be redirected to the account page and will not be logged out (because invalid nonce).

    The menu was created via your theme builder and the logout endpoint was added from the list of the available options. the nonce it creates is different when I log out and back in, then remove and re-add the item to the menu. But then this number ends up being static for all users.

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    January 13, 2024 at 11:56

    Hello, @Markius Flavious,

    We suggest disabling all third-party plugins (including cache plugins) that do not come bundled with XStore (https://www.8theme.com/documentation/xstore/plugins/included-plugins/ ), clearing the cache of the browser, and then checking again. It is possible that one of the additional plugins is causing the issue.

    If the issue still persists, please keep all third-party plugins deactivated on your site and grant permission to debug your site, which includes deactivating all third-party plugins and on-site Customization. This will allow us to investigate and assist you accordingly.

    Please note that you should take a complete backup of your site before proceeding.

    In addition, please provide your site’s WP Admin URL and credentials in the private content area of this topic, so that we can look into it further:

    WP Admin URL:
    WP Admin Username:
    WP Admin Password:

    Thank you for your cooperation.

    Best Regards,
    8Theme’s Team

    Please contact administrator
    for this information.
  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.