error message in email confirmation from Membership 2 Pro

I installed this plugin and I'm testing it out. So I logged out of my admin account on Wordpress and went to the site in a different browser. I created my account and received the email confirmation link. All good so far. I clicked on the link in my email, which was:,

and the page it returned says "invalid code. check your email or try again." See attached screenshot. So basically the user can't create their account....

I'm on a Mac, and I've tried Firefox and Chrome and Safari browsers.

  • Ash
    • WordPress Hacker

    Hello emily_garman

    Membership doesn't send any verification link. So, it looks like you are using any third party integration or customized the plugin.

    I have tried to register at your site and got the link on my email which shows as****;key=lLptqCqRJ2Ap0Caqrvbg when I click on it. Look at the URL, there is "#038;" but it should be "&". So, when I change that and use like this: https://www.sav**** then it works.

    Would you please let me know how you added the verification system? The URL is not correctly encoded there, so I can check that.

    Have a nice day!


  • emily_garman
    • Site Builder, Child of Zeus

    Well, I don't have anything set up to manage user registration and verification. So I didn't set that up. I can't see any other plugin on my site that would randomly create a user verification process. I think this verification step (which is very normal) is coming from the Membership 2 plugin.

    You should have access to my site through the support portal--do you see any other plugins that would be causing this to happen? My guess is that #038 is ascii for the & sign...I guess? I don't know. I feel like you guys don't know any more about this plugin than I do!

  • James Morris
    • WordPress Enthusiast

    Hello emily_garman

    I hope you are well today. Thank you for enabling Support Access so we could look into this.

    It turns out this is related to the SendGrid plugin you have installed. Any emails that contain an ampersand ( & ) in the URL string, SendGrid click tracking cannot handle. This is a known issue that was reported on, here ->

    From SendGrid's support:

    At this point there are two solutions:
    1. Completely turn off the Click Tracking app from your SendGrid account, and all emails will have their links tracked.
    2. Turn of Click Tracking on a per link basis

    Please see the forum post for more information regarding this issue:

    I hope this clarifies a bit. Let us know if you have any further questions. We'll be happy to help! :slight_smile:

    Best regards,

    James Morris

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.