Quantcast
Channel: Topic Tag: database | WordPress.org
Viewing all articles
Browse latest Browse all 11065

Mike Schinkel on "Members breaks on install.php if a mu-plugin"

$
0
0

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/


Viewing all articles
Browse latest Browse all 11065

Trending Articles