• I just upgraded ( over-written the latest wp-admin and wp-includes) files of wordpress. and now when i try to access anything it shows me this error.

    Fatal error: Call to undefined method wpdb::set_prefix() in /home/cyberdev/public_html/wp-settings.php on line 209

    What the hell.. 2.5 is real big deal.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I agree…how do i fix this…….

    I just upgraded. I got the same error, same “wp-settings.php on line 209”

    any results yet?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    You failed to upload ALL of the WordPress files. Particularly those in wp-includes.

    Re-upload WordPress, and make sure that every file gets uploaded correctly. You can’t miss any of them.

    I actually answered my own question with some google searching.

    The error stemmed from my wp-db.php file. I like some others are running on a IIS server and have that pesky problem.

    I used this link here and I was able to finish the upgrade.

    Hope this helps..it helped me.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    If you get the “Call to undefined method wpdb::set_prefix()” than that workaround won’t help you. That workaround does something totally different.

    The “Call to undefined method wpdb::set_prefix()” means that you did not upload the new wp-db.php file in the first place. Sure, uploading the modified file will fix the problem, but so would uploading the non-modified one. Plus, if you failed to update one file, you likely failed to update other files as well.

    Really. Re-upload a fresh copy of WordPress. I’m not making this stuff up.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error: Call to undefined method wpdb::set_prefix()’ is closed to new replies.