Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#13950 closed defect (bug) (invalid)

Call to undefined method wpdb::get_blog_prefix() in /wp-admin/includes/user.php on line 260

Reported by: nightangel's profile NightAngel Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: General Keywords:
Focuses: Cc:

Description

I don't use "wp_" prefix for my tables. Of course, the $table_prefix= value is correct in wp-config.php.

The error when I create (or modify) an article : Call to undefined method wpdb::get_blog_prefix() in /wp-admin/includes/user.php on line 260

PS : WP_DEBUG is true... obviously.

Change History (6)

#1 @filosofo
15 years ago

Are you using a custom db class, usually in a file named db.php in wp-content?

#2 @NightAngel
15 years ago

Sorry, I deleted db.php in wp-content. But what is this file ? Created by plugin ? Never seen such a file here !

Thank you !

#3 @mynetx
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Yes, this file is created by some caching plugins.

#4 @filosofo
15 years ago

  • Milestone 3.0.1 deleted
  • Priority changed from high to normal
  • Resolution fixed deleted
  • Status changed from closed to reopened

#5 @filosofo
15 years ago

  • Resolution set to invalid
  • Status changed from reopened to closed

#6 @hakre
15 years ago

Fix is to update your caching plugin to a version that is compatible to 3.0.

Note: See TracTickets for help on using tickets.