Support » Plugin: Members » Members breaks on install.php if a mu-plugin

  • Resolved Mike Schinkel


    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 )

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Justin Tadlock


    WordPress God

    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.

    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.

    Plugin Author Justin Tadlock


    WordPress God

    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.

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Members breaks on install.php if a mu-plugin’ is closed to new replies.