Issue with Switching Back to Admin from User on Front End

Hi Team,

I am encountering an issue when switching to a user from the admin users section. After switching to a user and attempting to switch back from the front end, I receive the following error message:

<body id=”error-page”>

<div class=”wp-die-message”>The link you followed has expired.</p><p><a href=”https://ilccare.org/my-account/”>Please try again.</a></div>

</body>

When I click on ‘Please try again,’ it redirects me to the same page where the user is logged out. The same page also has a ‘Switch back’ button, and when I click on this button, the switch back works correctly.

Could you please help me understand what might be causing this issue and how I can resolve it?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer