WordPress MU upgrade DB line 250 (2 posts)

  1. miracles83
    Posted 2 years 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) ) {
    $this->open_connections[] = $dbhname;


  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years 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

  • SharDB
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.