September 7, 2019 at 3:31 pm #18871
I’m having an issue where a user, on a site with Simple Membership installed and working correctly, logs into the WordPress Admin (/wp-admin) page and gets redirected back to the home page. This is *NOT* the classic WordPress issue <a href=”
https://www.wpbeginner.com/wp-tutorials/how-to-fix-wordpress-login-page-refreshing-and-redirecting-issue/” rel=”noopener noreferrer” target=”_blank”>as seen here. I know it’s not the classic issue because A) I tried those steps (and others) multiple times without success, B) If I go back to the browser’s address bar and slap /wp-admin back onto the (homepage) URL, I correctly get into the WP admin without redirection, and most importantly, C) I can make the problem go away by disabling the Simple Membership plugin.
Other things tried:
1. Turning on debugging – no help. i.e., no errors
2. Clearing cache – no help
3. Deleting cookies – no help
4. Disabling just the Simple Member Login Redirection Addon Plugin – no help
If the solution is not known off-hand,
please give me steps I can use to help debug the issue
September 8, 2019 at 3:02 am #18874
- This topic was modified 2 weeks ago by mbrsolution.
Can you first carry out a plugin/theme conflict test.
Let me know how you go.
RegardsSeptember 8, 2019 at 2:52 pm #18879
I was trying (and obviously failing 🙂 ) to be clear that I’d tried all those tests previously. The only way to make the issue go away is to deactivate the main Simple Membership plugin.
I do, however, have an important bit of information I didn’t mention previously. This issue only happens with users who are both WP users and Simple Membership members. I created a new WP user with editing privileges (Editor) and that user can login to /wp-admin with no issues. The instant I add that user to Simple Membership, the redirect issue occurs.
I’m a well-seasoned software guy and am happy to debug if you point me in the right direction.
RobSeptember 8, 2019 at 9:46 pm #18881
I created a new WP user with editing privileges (Editor) and that user can login to /wp-admin with no issues. The instant I add that user to Simple Membership, the redirect issue occurs.
How are you importing the user into the Members area in Simple Membership plugin?
RegardsSeptember 9, 2019 at 1:01 am #18883
To create a user & Simple Membership member I’ve used the following methods:
A. Using Simple Membership WP User Import to import a current WordPress user
B. Creating a user directly in Simple Membership Add Member feature
The last example of creating the new WP user that I mentioned, I created the user in WP’s Users are and then used the Simple Membership WP User Import.
Another bit of data – I checked some other sites I work with and have Simple Membership installed and the issue does not exist.
I’m as sure as I can be at this point that something in WP_USERS, WP_USERMETA or WP_OPTIONS got “corrupted”, though I’m not sure what to look for.
RobSeptember 9, 2019 at 1:10 am #18884
Hi, yes I agree that something has become corrupted in your install.
Lets try something different. Disable and delete the plugin. Then install a fresh new copy of Simple Membership plugin. Then carry out a test.
Just to be on the safe side, create a backup of your site just in case something goes wrong. This is merely a precaution.
Let me know how you go.
Kind regardsSeptember 9, 2019 at 1:47 am #18885
OK, I’ll try that some time this week and get back to you.
You must be logged in to reply to this topic.