Support » Plugin: WP-Members Membership Plugin » Login Page Not Logging In

  • When my users go to login, they do not get redirected to the page they trying to gain access to. The login page simply refreshes.

    In testing I discovered that if you go back to the home page and then go back to the login page, it’s now logged in and they can access the content.

    I deactivated all other plugins on the site and tested again and I still have the same issue. So it’s not a plugin conflict.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Turns out it was the really old theme I was using. Updated theme and problem is resolved.

    Your plugin rocks and does exactly what I wanted it to do!

    Thanks

    Plugin Author Chad Butler

    (@cbutlerjr)

    Glad you were able to get things working!

    localwebstrategies

    (@localwebstrategies)

    So everything was working fine and now today the same thing is happening again (even after upgrading the theme). Any ideas why this is so sporadic?

    I tested with a bunch on different user logins the other day and everything was working after I changed themes and now sometimes I can get it to log in and other times I can’t.

    Frustrating after going through all that work and I still have the same issue πŸ™

    localwebstrategies

    (@localwebstrategies)

    I just discovered, that if I hit the login button (without filling in the credentials again) after the page refreshes, then the page actually logs in like it was supposed to. Weird

    Plugin Author Chad Butler

    (@cbutlerjr)

    Based on that description, I would look into whether you are using a server-side cache known as Varnish. Varnish does not work well with front-end logins as it basically needs a specific exception for any login page (and registration as well). It’s fine for WordPress as a blog, but not well suited to running membership sites.

    localwebstrategies

    (@localwebstrategies)

    Hi Chad,

    Thanks for getting back with me. I understand what you’re saying. However, I’ve been using your plugin for the past year with absolutely no problems (and we havent changed webhosts). It’s only been in this last week that my client started having this problem and brought it to my attention. I noticed that there was an update on the plugin about a month ago – could this update have caused the issue?

    To prove this out, is there a way that I could revert back to the previous version of the plugin and see if the login works again?

    Thanks,
    Kristin

    Plugin Author Chad Butler

    (@cbutlerjr)

    However, I’ve been using your plugin for the past year with absolutely no problems (and we havent changed webhosts). It’s only been in this last week that my client started having this problem and brought it to my attention.

    What you described most often indicates a server-side cache like Varnish so you need to eliminate that as a possibility. Since Varnish (and other server-side caches like it) are something that would usually be put in place by your host, it doesn’t matter whether you’ve personally made any changes. What does matter is if your host made any changes (which wouldn’t necessarily be announced to you).

    I noticed that there was an update on the plugin about a month ago – could this update have caused the issue?

    It’s unlikely. However, if you want to roll back to test, you can find previous versions at the bottom of the following page:
    https://wordpress.org/plugins/wp-members/advanced/

    Additionally, you can compare changes in source here:
    https://plugins.trac.wordpress.org/log/wp-members/trunk

    Hi Chad,

    After more testing and reaching out to my host, I FINALLY discovered that Google Tag Manager is causing the issue. It’s not the plugin used to insert GTM code (because I tried two different plugins and had the same problem), it’s actually GTM itself. When I remove the GTM coding, the login page works perfectly.

    I’ve Googled to try and figure out why GTM is causing an issue and can’t seem to find a solution. Have you run across this before?

    I appreciate all your help on this issue. There is light at the end of the tunnel πŸ™‚

    Kristin

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.