WordPress.org

Ready to get started?Download WordPress

Forums

SharDB
WordPress MU upgrade DB line 250 (2 posts)

  1. miracles83
    Member
    Posted 1 year ago #

    I finished upgrading a server of 300 wordpress sites from MU 2.8 to WordPress 3.5 Network. It already had the Shardb plugin set-up so the server construction and everything went smoothly.

    I had one snag with the db.php file.

    I kept on receiving some object error regarding line 250 throughout my sites. It seemed to popup in places that it was trying to grab from the database.

    I commented out the problem line and everything is working smoothly (While I do expect something to go bad because of my hack soon)

    Here's the code I commented out

    line 250:
    /*if ( $k = array_search($dbhname, $this->open_connections) ) {
    unset($this->open_connections[$k]);
    $this->open_connections[] = $dbhname;
    }

    http://wordpress.org/extend/plugins/shardb/

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

    See if you still get the warnings with the development version. You definitely don't want to run your site for a long period of time with those lines commented out.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.