I have a problem with my WordPress DB after I tried to install multi-site

I tried to install WordPress Multi-Site. But I ran into some problems with the DB.

wp_1_posts: Table 'studioc_editionspanda.wp_1_posts' doesn't exist
wp_1_comments: Table 'studioc_editionspanda.wp_1_comments' doesn't exist
wp_1_links: Table 'studioc_editionspanda.wp_1_links' doesn't exist
wp_1_options: Table 'studioc_editionspanda.wp_1_options' doesn't exist
wp_1_postmeta: Table 'studioc_editionspanda.wp_1_postmeta' doesn't exist
wp_1_terms: Table 'studioc_editionspanda.wp_1_terms' doesn't exist
wp_1_term_taxonomy: Table 'studioc_editionspanda.wp_1_term_taxonomy' doesn't exist
wp_1_term_relationships: Table 'studioc_editionspanda.wp_1_term_relationships' doesn't exist
wp_1_commentmeta: Table 'studioc_editionspanda.wp_1_commentmeta' doesn't exist

What do I do?

Related posts

2 comments

  1. You most probably only added one of the following in your wp-config.php file thinking they were the same, as m73mitchell and I had done:

    define('WP_ALLOW_MULTISITE', true);
    define('MULTISITE', true);
    

    I couldn’t find any documentation why they have this counterintuitive setup, but just add the one you missed and it should work.

  2. After I added “define('MULTISITE', true);” to my wp-config file the error disappeared.

    Before

    /* Multisite */
    define('WP_ALLOW_MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'localhost');
    define('PATH_CURRENT_SITE', '/testsite/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    

    After

    /* Multisite */
    define('WP_ALLOW_MULTISITE', true);
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'localhost');
    define('PATH_CURRENT_SITE', '/testsite/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    

Comments are closed.