The Trusted Membership Platform That Grows with You: Restrict access to content and charge recurring subscriptions using Stripe, PayPal, and more. Fully open source. 100% GPL.
If the user is logged in, and selecting a free membership I get an error at the line below. I believe this is because the user is already logged in, so it never hits the signon line where $user is defined. If this is changed to $current_user, the script begins working. This makes sense because if the user wasn't logged in, they'll hit the sign on script, and current user will always be defined.
If the user is logged in, and selecting a free membership I get an error at the line below. I believe this is because the user is already logged in, so it never hits the signon line where $user is defined. If this is changed to $current_user, the script begins working. This makes sense because if the user wasn't logged in, they'll hit the sign on script, and current user will always be defined.
https://github.com/strangerstudios/paid-memberships-pro/blob/master/preheaders/checkout.php#L806