The wp_blogmeta table is not installed. Please run the network database upgrade
We’re using WP Engine for web hosting.
I originally manually turned on Multisite through wp-config.php
Tools Network Setup
.
Since then, I've learned we need to use their Enable Multisite
function to enable subdirectory multisite.
When WP_DEBUG
is on, we see a message:
Notice: wp_check_site_meta_support_prefilter was called incorrectly. The wp_blogmeta table is not installed. Please run the network database upgrade.
I then created wp_blogmeta
manually using:
CREATE TABLE IF NOT EXISTS wp_blogmeta (
meta_id bigint(20) unsigned NOT NULL AUTO_INCREMENT,
blog_id bigint(20) NOT NULL DEFAULT ‘0’,
meta_key varchar(255) COLLATE utf8mb4_unicode_520_ci DEFAULT NULL,
meta_value longtext COLLATE utf8mb4_unicode_520_ci,
PRIMARY KEY (meta_id),
KEY meta_key (meta_key(191)),
KEY blog_id (blog_id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci AUTO_INCREMENT=1;
If I run the network database upgrade, the error remains.
How do I populate/”install” this table?
EDIT: WP Engine say they do not support issues with Multisite, so they're unable to help me resolve this.
Our wp-config.php
contains:
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', 'example.com');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
define('ADMIN_COOKIE_PATH', '/');
define('COOKIE_DOMAIN', '');
define('COOKIEPATH', '');
define('SITECOOKIEPATH', '');
We're using WordPress 6.0
.