members not active (beta version) and errors with query object if connected

Hello

I have exactly the same issue of this topic https://premium.wpmudev.org/forums/topic/susbcriptions-inactive-and-does-not-process-to-paypal

1) When I add subscribers via admin, membership works. When subscribers register on their own, their accounts remain inactive.

I use the beta version, because I need also TOS plugin
I check tables everything is ok

2) Also, an other issue: something is bad.
Some members (added by myself, by admin) when connected, can login and are directed to dashboard. When they go to webdsites, all is fucktop, errors messages with jquery everywhere (screenshot). It was not like that before upgrade membership to the beta version....
the strange is : not for everybody, only for some members, and only if connected

the screen becoming like this :

WP_Query Object ( [query_vars] => Array ( [page] => [pagename] => [error] => [m] => 0 [p] => 0 [post_parent] => [subpost] => [subpost_id] => [attachment] => [attachment_id] => 0 [name] => [static] => [page_id] => 2 [second] => [minute] => [hour] => [day] => 0 [monthnum] => 0 [year] => 0 [w] => 0 [category_name] => [tag] => [cat] => [tag_id] => [author_name] => [feed] => [tb] => [paged] => 0 [comments_popup] => [meta_key] => [meta_value] => [preview] => [s] => [sentence] => [fields] => [category__in] => Array ( ) [category__not_in] => Array ( ) [category__and] => Array ( ) [post__in] => Array ( ) [post__not_in] => Array ( ) [tag__in] => Array ( ) [tag__not_in] => Array ( ) [tag__and] => Array ( ) [tag_slug__in] => Array ( ) [tag_slug__and] => Array ( ) ) [tax_query] => WP_Tax_Query Object ( [queries] => Array ( ) [relation] => AND ) [meta_query] => [post_count] => 0 [current_post] => -1 [in_the_loop] => [comment_count] => 0 [current_comment] => -1 [found_posts] => 0 [max_num_pages] => 0 [max_num_comment_pages] => 0 [is_single] => [is_preview] => [is_page] => 1 [is_archive] => [is_date] => [is_year] => [is_month] => [is_day] => [is_time] => [is_author] => [is_category] => [is_tag] => [is_tax] => [is_search] => [is_feed] => [is_comment_feed] => [is_trackback] => [is_home] => [is_404] => [is_comments_popup] => [is_paged] => [is_admin] => [is_attachment] => [is_singular] => 1 [is_robots] => [is_posts_page] => [is_post_type_archive] => [query_vars_hash] => 11b29b150f4e2ad29ccaad82f510c8c2 [query_vars_changed] => [thumbnails_cached] => [query] => Array ( [page] => [pagename] => ) ) 

WP_Query Object ( [query_vars] => Array ( [numberposts] => 5 [offset] => 0 [category] => 0 [orderby] => menu_order [order] => ASC [include] => 6,8,11,16,21,23,26,28,29,48,132,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,158,159,160,161,162,163,171,190,193,194,199 [exclude] => Array ( ) [meta_key] => [meta_value] => [post_type] => nav_menu_item [suppress_filters] => 1 [post_status] => publish [output] => ARRAY_A [output_key] => menu_order [nopaging] => 1 [update_post_term_cache] => [posts_per_page] => 38 [post__in] => Array ( [0] => 6 [1] => 8 [2] => 11 [3] => 16 [4] => 21 [5] => 23 [6] => 26 [7] => 28 [8] => 29 [9] => 48 [10] => 132 [11] => 141 [12] => 142 [13] => 143 [14] => 144 [15] => 145 [16] => 146 [17] => 147 [18] => 148 [19] => 149 [20] => 150 [21] => 151 [22] => 152 [23] => 153 [24] => 154 [25] => 155 [26] => 156 [27] => 158 [28] => 159 [29] => 160 [30] => 161 [31] => 162 [32] => 163 [33] => 171 [34] => 190 [35] => 193 [36] => 194 [37] => 199 ) [ignore_sticky_posts] => 1 [no_found_rows] => 1 [error] => [m] => 0 [p] => 0 [post_parent] => [subpost] => [subpost_id] => [attachment] => [attachment_id] => 0 [name] => [static] => [pagename] => [page_id] => 0 [second] => [minute] => [hour] => [day] => 0 [monthnum] => 0 [year] => 0 [w] => 0 [category_name] => [tag] => [cat] => [tag_id] => [author_name] => [feed] => [tb] => [paged] => 0 [comments_popup] => [preview] => [s] => [sentence] => [fields] => [category__in] => Array ( ) [category__not_in] => Array ( ) [category__and] => Array ( ) [post__not_in] => Array ( ) [tag__in] => Array ( ) [tag__not_in] => Array ( ) [tag__and] => Array ( ) [tag_slug__in] => Array ( ) [tag_slug__and] => Array ( ) ) [tax_query] => WP_Tax_Query Object ( [queries] => Array ( ) [relation] => AND ) [meta_query] => [post_count] => 0 [current_post] => -1 [in_the_loop] => [comment_count] => 0 [current_comment] => -1 [found_posts] => 0 [max_num_pages] => 0 [max_num_comment_pages] => 0 [is_single] => [is_preview] => [is_page] => [is_archive] => [is_date] => [is_year] => [is_month] => [is_day] => [is_time] => [is_author] => [is_category] => [is_tag] => [is_tax] => [is_search
  • Barry
    • DEV MAN’s Mascot

    When I add subscribers via admin, membership works. When subscribers register on their own, their accounts remain inactive.

    what gateway are you using?

    When they go to webdsites, all is f***top

    Please don't swear on the forum, some members don't like that type of language.

    Also, an other issue: something is bad.

    Can you delete what's on line 339 - remove the whole line of membershipincludes/includes/default.rules.php?

    It's a rogue debug statement I missed, will get that removed for the update.

  • Barry
    • DEV MAN’s Mascot

    but paypal souscription lead to the Paypal page xhere it's only for paypal account, not crédit card. Is that what you expect ?

    Yes, for paypal express you need a paypal account to set up a subscription. That is why I developed the paypal single gateway.

  • BlueEyes
    • Design Lord, Child of Thor

    on line 339 there is only

    print_r($wp_query);

    is that really the rogue to erase ???

    We speak about version beta isn'it ? I'm waiting for your answer because I'm not sure that we speak about same code

    an what about first big problem ? Members nots active ?

  • BlueEyes
    • Design Lord, Child of Thor

    Ok Barry, thanks, everything works now. Except TOS plugin. One can subscribe even without said yes.

    Also I have some questions. On Options page, what does it means
    Membership renewal and Membership upgrades
    it's not clear for me, could you explain ?

  • DavidM
    • DEV MAN’s Mascot

    Hi BlueEyes,

    We'll be happy to take a look with you on those items with a new thread.

    Just to note though, the latest version of Membership and TOS should work just fine with the latest version of WP. Could you please make sure everything's up to date?

    And renewals are simply the renewals for the subscriptions, generally an automatic process, whereas upgrades would be when a member wants to move to a different subscription entirely.

    Cheers,
    David

  • jdsullivan411
    • Site Builder, Child of Zeus

    Yes, for paypal express you need a paypal account to set up a subscription. That is why I developed the paypal single gateway.

    Barry, can you explain to me the difference between paypal express and paypal single gateway?
    DaveM explained it to me but I didn't quite understand the difference and unfortunately it's like I'm in an ice cream shop, I want to understand all my options before i inevitably pick black cherry. FYI: I do have a paypal account.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.