Bedrock Multisite and "Corrupted Content Error"

I’d like to test locally a Multisite WP install based on Bedrock app (subfolder version). I’m using Laragon stack on Windows 10.

I’ve included the following code in the application.php file (after the Authentication Unique Keys and Salts section):

Config::define('WP_ALLOW_MULTISITE', true);
Config::define('MULTISITE', true);
Config::define('SUBDOMAIN_INSTALL', false); // Set to true if using subdomains
Config::define('PATH_CURRENT_SITE', env('PATH_CURRENT_SITE') ?: '/');
Config::define('SITE_ID_CURRENT_SITE', env('SITE_ID_CURRENT_SITE') ?: 1);
Config::define('BLOG_ID_CURRENT_SITE', env('BLOG_ID_CURRENT_SITE') ?: 1);

The browser show an “Corrupted Content Error” page, and I’ve got the following database error log:

WordPress database error Table 'database.bms_blogs' doesn't exist for query SELECT  bms_blogs.blog_id FROM bms_blogs  WHERE domain = 'bedrock_ms.test' AND path = '/'  ORDER BY bms_blogs.blog_id ASC LIMIT 1 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('E:/laragon/www/bedrock_ms/web/wp-config.php'), require_once('wp-settings.php'), require('wp-includes/ms-settings.php'), ms_load_current_site_and_network, get_site_by_path, get_sites, WP_Site_Query->query, WP_Site_Query->get_sites, WP_Site_Query->get_site_ids

Looks like it can’t generate db tables…

I’ve searched for more details about this topic, but I can’t find a solution…

This topic was automatically closed after 42 days. New replies are no longer allowed.