Can't finish registration (new user gets made but subscription/member level doesn't get ad

Trying to set up and configure Membership… when I try to register at http://www.queerbody.com/register/ I can set up the user account, but when it gets to this url:

http://www.queerbody.com/register/?action=registeruser&subscription=1

1) the “submit” button from the free gateway shows up twice

2) when I click it, it goes back to http://www.queerbody.com/register/ and says “Please check the details of your subscription below and click on the relevant button to complete the subscription.” and “You will pay :” — there’s no price, and no buttons. What happens next?

  • Vinod Dalvi
    • WP Unicorn

    Hi Josh,

    Welcome to the WPMU Dev community and thank you for your question.

    Can you try enabling WP_DEBUG mode and debug logging? To do this, just go to wp-config.php include this:

    define('WP_DEBUG',true);
    define('WP_DEBUG_LOG',true);

    You might already have a line for WP_DEBUG, so just make sure it’s set to true. This will create a log file under wp-content/debug.log with detailed information.

    If you’d like to avoid end users seeing error messages, you can include this as well:

    @ini_set('display_errors',0);
    define('WP_DEBUG_DISPLAY', false);

    This will prevent errors from being displayed, but you can still find them in the log file. For information on this, checkout this wpmu.org article.

    Also check the javascript console for errors. In Chrome go to “View -> Developer -> Javascript Console” and in Firefox you can go to “Tools -> Web Developer -> Console”

    Let me know what errors if any you are getting!

    Best Regards,

    Vinod Dalvi

  • Josh
    • WPMU DEV Initiate

    When I get to http://www.queerbody.com/register/?action=registeruser&subscription=1

    it says at the top:

    Notice: Undefined index: formtype in /home/queerbod/public_html/wp-content/plugins/membership/membershipincludes/classes/membershippublic.php on line 1867

    and it says above the submit button:

    Notice: Undefined index: registrationcompleted_page in /home/queerbod/public_html/wp-content/plugins/membership/membershipincludes/includes/functions.php on line 600

    Then when it goes back to /register (after hitting submit) it says at the top:

    Notice: Undefined index: formtype in /home/queerbod/public_html/wp-content/plugins/membership/membershipincludes/classes/membershippublic.php on line 1867

    Then in the page:

    Notice: Undefined index: subscription in /home/queerbod/public_html/wp-content/plugins/membership/membershipincludes/classes/membershippublic.php on line 1412

    Notice: Undefined variable: free in /home/queerbod/public_html/wp-content/plugins/membership/membershipincludes/includes/functions.php on line 714

    Notice: Undefined variable: price in /home/queerbod/public_html/wp-content/plugins/membership/membershipincludes/includes/payment.form.php on line 172

    Javascript all it gets is:

    event.returnValue is deprecated. Please use the standard event.preventDefault() instead. jquery.js?ver=1.10.2:4

  • Vinod Dalvi
    • WP Unicorn

    Hi Josh,

    Awesome, great to see you got that fixed.

    Regarding multiple “submit” buttons, i think you have multiple gateways activated, they’ll all show a button if its a pay level.

    Membership provides one button for each payment gateway that can be used for a subscription.

    In the page where the gateway is enabled, you can set options, including options for the button.

    You can even provide a custom image for the button.

    Example :

    yoursite.com/wp-admin/admin.php?page=membershipgateways&action=edit&gateway=paypalexpress

    That is the settings link for PayPal Express gateway.

    You will find more information about it from the following video tutorial

    http://www.youtube.com/watch?v=Wg1u4ZrneGA&list=PLV1BcivFAIdtF4p7CYVfMbVAJ4JQ1Rpe9

    Regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.