Menu Disappears When Membership Plugin Is Activated

When the Membership plugin is activated, the menu on the home page disappears. I have already moved all plugins into a troubleshooting folder and isolated the problem to the membership plugin.

http://setawakeupcall.com

  • Patrick
    • Support Monkey

    Hey there @Thomas Edgell

    I hope you're well today!

    I just popped the Business Feature theme onto a test site and activated Membership. There's also a bunch of other nonsense going on on that site too... it is a test site. :slight_smile:

    But I cannot reproduce that behavior unfortunately.
    http://rockysroad.info/

    If you would like us to take a look behind the scenes to try to help figure out what may be going on,please enable support access from your WPMU DEV Dashboard. Go to WPMU DEV > Support > Support Access and click the Grant Access button.

    Please post again once that is done so we are alerted.

    Thanks!

  • Thomas Edgell
    • The Incredible Code Injector

    An additional post that I placed with another forum and they point to the membership plugin:

    Currently, I am running WordPress 3.92 Multi-site, LMS 2.0.3 activated on sub-domain & WPMUDev Membership Premium 3.5.1.6

    When I disable the Membership plugin, I can use LMS. However, that defeats the purpose of the Membership plugin. Currently, I get my protected content page, rather than the course.

    Everything was working fine until LMS 2.0 was released (as a reference point)

    (As another reference point) BadgeOS is not controlled by the Membership plugin and currently works fine.

    When you look under the hood, you may want to focus on Learndash, BadgeOS and the Membership Plugin. There are common within all three websites and I am guessing that is where the problem will be found.

  • Ash
    • WordPress Hacker

    Hello @Thomas Edgell

    I hope you are well today.

    Thank you for detailed information. I can see the issue in your site. I have just tried in my test install and can't replicate this at all :slight_frown:

    And it's pretty risky to make testing in a live site. Do you have any sandbox site or replica site of the live site where we can do some testing? Please let us know.

    Cheers
    Ash

  • Michael Bissett
    • Recruit

    Hey @Thomas Edgell, hope you're doing well today! :slight_smile:

    After doing some testing, I'd like to ask if you could try removing the "Menu" rule from each of your levels temporarily (saving the level after removing the rule), and then reinserting the "Menu" rule into each level.

    I noticed a hiccup on a test site of mine that required me to "refresh" the Menu rule in this fashion, afterwards finding that the menu appeared just fine for me (using the same theme that you are).

    Please let me know if this works for you, or if further assistance is needed here.

    Regards,
    Michael

  • Thomas Edgell
    • The Incredible Code Injector

    That did not work for me. It seems to be an issue with the stranger level access, which is the visitor access level, in the membership plugin. I have replaced the menu items back in the all of the access levels.

    I have noticed that on the menu items (freebies & travel destinations) the login appears, where it has been hidden on all of the other pages for a visitor http://screencast.com/t/o5xhIn4BNUo

    In addition, I have removed the negative rule in the visitor access level, therefore, all of the access levels are now using only positive rules. In addition, I have ticked, in the Membership Options, "Assign first subscription level to new users"

  • Thomas Edgell
    • The Incredible Code Injector

    I apologize, I have been addressing another similar problem and have been mixed it in with this discussion.

    The previous 2 posts are in reference to http://wunlivingcommunity.com I will open another topic to address those similar concerns.

    I have deleted the menu from the visitor access level as you requested and it still did not resolve the challenge.

    I have noticed that the site title on the home page http://setawakeupcall.com does not look like the site title on http://setawakeupcall.com/to-find-value-wun-starts-here Could that be throwing off the menus?

  • Ash
    • WordPress Hacker

    Hello @Thomas Edgell

    Please remove the menu items from all levels and then add again. I was talking to @Michael Bissett about this last night, and what he did is - removed menu from all levels and re-added.

    About the title, I don't think that could be any reason of not showing menus.

    Also, please enable support access again.

    Cheers
    Ash

  • Patrick
    • Support Monkey

    Hi there @Thomas Edgell

    I hope you are well today!

    I'm just posting to confirm that 2nd-level support has indeed been alerted to this thread, and one of the wiz-kids will be dropping in as soon as possible to try to help out here.

    Thanks very much for your patience on this, we do appreciate that!

    Oh yes, and please do keep support access active so no additional time is wasted by asking again. The access is active by default for 72 hours at a stretch, so that should suffice, but let's not take any chances. :slight_smile:

  • Michael Bissett
    • Recruit

    Hey @Thomas Edgell,

    Phew... well, after some further digging, I found out what the issue is on your two sites, (after doing testing on those sites, as well as two test sites of my own). :slight_smile:

    It seems like when the "Categories" rule is set for a level inside of Membership, the menu refuses to show itself when you're on the blog page.

    On the http://setawakeupcall.com site, the blog page would be the home page (since Settings -> Reading -> Front page displays is set to "Your latest posts"). On the http://wunlivingcommunity.com site, this would be the "Updates" page you have there.

    When you browse any other page on either of those sites though, this problem doesn't show up. Furthermore, the problem only seems to show up when a menu has been set to a menu location inside of Appearance -> Menus.

    Also, I should note that it does not matter which theme it's set for, as I had this issue with the following themes:

    - BuddyPress Social
    - Business Feature
    - Twenty Fourteen
    - Twenty Thirteen
    - Twenty Twelve

    (I should also note that I only had the latest versions of Membership & our Dashboard plugin enabled on the sites I tested with)

    The fix for the time being would be to remove the "Categories" rule from all of your levels inside Membership on both of your sites.

    The lack of the rule doesn't appear to be a problem presently, at least on the http://setawakeupcall.com site (after doing some testing with my own test level there). I can't say for sure about the http://wunlivingcommunity.com site though, as you've got quite a few levels on that one. :slight_smile:

    I've notified the developer for Membership about this issue, so that this can be looked into & fixed.

    As for this:

    on http://wunlivingcommunity.com I can access LMS (courses) as the admin but it redirects to the protected content page regardless of the access level and the menu disappears on freebies and travel destinations (category menu item).

    This would be best dealt with in another thread. :slight_smile:

    Hope this helps!

    Regards,
    Michael

    P.S. Hope I didn't make your head go ka-boom with the length of this post, I know it was quite a lot to share. :slight_smile:

  • Rheinard
    • The Incredible Code Injector

    Hi @Thomas Edgell,

    When a category is protected it will not show up in the menu. The logic here is that you don't want a menu item that takes you straight to a protected content page. This may not be perfect as the protected content page could be a great page to try and sell a membership and the menu items could be a great way to show what is available.

    I will flag this default behaviour to be reviewed in a future update.

    Cheers,
    Rheinard

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.