WordPress.org

Ready to get started?Download WordPress

Forums

Members
[resolved] Members breaks on install.php if a mu-plugin (5 posts)

  1. Mike Schinkel
    Member
    Posted 1 year ago #

    Hi Justin,

    This is a somewhat obscure use-case but it appears that the Members plugin throws errors is it is deployed to a new site without an tables it tried to insert 'members_db_version' key into wp_options before wp_options exists.

    Adding the following code at the top of /members/includes/update.php solves the problem:

    if ( defined( 'WP_INSTALLING' ) && WP_INSTALLING )
      return;

    I can work around it by putting the code into my must-use plugin loader, but I thought you might want to know.

    http://wordpress.org/plugins/members/

  2. Justin Tadlock
    Member
    Plugin Author

    Posted 10 months ago #

    Thanks, Mike. I'll roll this into the next update.

    By the way, Members is on GitHub if you ever run into any other issues like this. I see issues posted there a lot faster than I do here.
    https://github.com/justintadlock/members

  3. Mike Schinkel
    Member
    Posted 10 months ago #

    Thank's Justin.

    Maybe add that you have a GitHub repo into your overview page or at least your FAQ?

    Too bad that WordPress itself doesn't have a header field for "External Repository" and thus a link to it from the plugin page, no?

    P.S. Just FYI but this plugin is one of the very few that I almost always install on any project I work on.

  4. Justin Tadlock
    Member
    Plugin Author

    Posted 10 months ago #

    Yeah, we need something like that. I've been going through all my plugins and plan to link up the GitHub repos in the next updates.

  5. Mike Schinkel
    Member
    Posted 10 months ago #

    Hi Justin,

    Cool. As an aside, just met with someone today building a web app on top of WordPress. They are researching different commercial plugins; I told him "You don't need those, they'll just cause you heartache. Get Members and add the business rules exactly as you need them; it's actually quite simple." His users are few and he has a face-to-face relationship with each so he doesn't need the online credit card processing that commercial membership plugins provide.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic