Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 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 Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: General Keywords:
Focuses: Cc:


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)

comment:1 filosofo4 years ago

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

comment:2 NightAngel4 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 !

comment:3 mynetx4 years ago

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

Yes, this file is created by some caching plugins.

comment:4 filosofo4 years ago

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

comment:5 filosofo4 years ago

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

comment:6 hakre4 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.