Make WordPress Core

Opened 6 months ago

Last modified 6 months ago

#47934 new defect (bug)

Undefined property: wpdb::$blogmeta

Reported by: malthert Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.2.2
Component: Database Keywords: reporter-feedback
Focuses: Cc:
PR Number:

Description (last modified by SergeyBiryukov)

Happened when updating from 4.9.7 to 5.2.2:

Error: Undefined property: wpdb::$blogmeta

Error in: /wp-includes/wp-db.php on line 618
Url: /wp-admin/upgrade.php?step=upgrade_db

Stack trace:
#0 /wp-admin/includes/schema.php (270): wpdb->__get( $name = blogmeta )
#1 /wp-admin/includes/schema.php (353): wp_get_db_schema( $scope = all )
#2 /wp-admin/includes/upgrade.php (20): require_once( /wp-admin/includes/schema.php )
#3 /wp-admin/upgrade.php (23): require_once( /wp-admin/includes/upgrade.php )

Change History (4)

#1 @SergeyBiryukov
6 months ago

  • Component changed from General to Database
  • Description modified (diff)

#3 @SergeyBiryukov
6 months ago

  • Keywords reporter-feedback added

Hi @malthert, welcome to WordPress Trac! Thanks for the report.

I could not reproduce the issue so far.

  1. Are you using a database drop-in (a wp-content/db.php file) or any caching plugins?
  2. Does the notice still persist after the upgrade, or only appears during the upgrade?
  3. Has the blogmeta table been created in the database?

#4 @malthert
6 months ago

1) no
2) no, only happened once during the update
3) no it's not there (I am on a simple WP install, no multi-site)

Note: See TracTickets for help on using tickets.