• Resolved 26book32

    (@26book32)


    Hello dear Masteriyo team

    When the users are in their account page and tab on log out, it won’t log out. It’ll reload and stays in the account page

Viewing 1 replies (of 1 total)
  • Thanks for reporting this! We’ve tested the logout process on our end, and it’s working correctly. On your live site, this issue might be happening due to one of the following:

    1. Caching or optimization plugins – Some page or CDN caching tools (like LiteSpeed, WP Rocket, or Cloudflare) can cache or block API requests such as wp-json/masteriyo/v1/users/logout/?_locale=user.
    2. CDN or proxy interference – Services like Cloudflare or Sucuri may block or cache REST API requests, preventing the logout API call from executing properly.
    3. JavaScript not loading correctly – If scripts are minified, deferred, or blocked, the JS responsible for triggering the logout API call may not run.

    Recommended steps:

    • Temporarily disable all caching or optimization plugins and clear your CDN cache.
    • Open your browser’s Developer Tools → Network tab, click the logout button, and check if the request to
      wp-json/masteriyo/v1/users/logout/?_locale=user returns a proper response (status 200).
    • Check the Console tab for any JavaScript errors that might prevent the logout action.

    Please try these steps and let us know what you find, we’ll be glad to assist further!

Viewing 1 replies (of 1 total)

The topic ‘Log out issue’ is closed to new replies.