I am testing the implementation of the Membership plugin on a development site and all looked hunky-dory - until I logged out. The plugin version is 2.1 beta 2, Wordpress 3.2.1, minimous theme.
Part of this may be my understanding or what I haven't done. So far, I have:
1) set the categories as Membership under which there are Stranger, Bronze, Silver, Gold and Platinum;
2) Created some short codes (mfi3_bronze, mfi3_silver etc);
3) Created a No Access and Registration page, also pointing 404's to No Access;
4) Unchecked the Anyone can register (is this disabling registration? I couldn't see where else);
5) Created a download group for Gold membership (I also called it gold);
6) Created the levels which I also called Bronze, Silver, Gold and Platinum with Positive rules of the category and inferiors so eg Silver can see posts in Stranger, Bronze and Silver;
7) Set up some Subscription amounts (although I haven't enacted Paypal as it is a dev site);
I can't see where the Enable Protection switch is so I haven't clicked on the Disabled link.
I generated some posts in the various categories and wanted to test whether they were visible. While logged in (as an admin) they were so I logged out. Oh dear! A whole slew of print_r type of dumps appeared on the front page. I set WP_DEBUG to be TRUE so I get some indication of any warnings so the following happens for example from above the header (by displaying the block levels):
Notice: automatic_feed_links is deprecated since version 3.0! Use add_theme_support( 'automatic-feed-links' ) instead. in /home/myuser/dev/mywebsite.com/wp-includes/functions.php on line 3382 Notice: Undefined variable: content in /home/myuser/dev/mywebsite.com/wp-content/plugins/membership/membershipincludes/classes/membershippublic.php on line 562 Notice: Undefined variable: user_id in /home/myuser/dev/mywebsite.com/wp-content/plugins/membership/membershipincludes/classes/class.communication.php on line 534 WP_Query Object ( [query_vars] => Array ( [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] => [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] => [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] => 1 [is_404] => [is_comments_popup] => [is_paged] => [is_admin] => [is_attachment] => [is_singular] => [is_robots] => [is_posts_page] => [is_post_type_archive] => [query_vars_hash] => b52c7201ac0659efd0fc727f3f37d361 [query_vars_changed] => [thumbnails_cached] => [query] => Array ( ) ) Notice: Undefined index: post_type in /home/myuser/dev/mywebsite.com/wp-content/plugins/membership/membershipincludes/includes/default.rules.php on line 341 Notice: Undefined property: WP_Query::$queried_object_id in /home/myuser/dev/mywebsite.com/wp-content/plugins/membership/membershipincludes/classes/membershippublic.php on line 683
There are other similar reports that all end in the Undefined property above (this comes from the debug of course).