MainWP Dashboard errors in log on fresh install

I’ve created a fresh WordPress installation for testing (translation project) and installed MainWP Dashboard 5.4.0.20. The site is running on PHP 8.4

After activating MainWP I saw the following errors in the log:

WordPress database error Table 'databasename.wp_mainwp_wp' doesn't exist for query SELECT COUNT(wp.id) FROM wp_mainwp_wp wp WHERE 1  AND wp.is_staging = 0  made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/mainwp/mainwp.php'), MainWP\Dashboard\MainWP_System->__construct, MainWP\Dashboard\MainWP_Execution_Helper->init_exec_time, MainWP\Dashboard\MainWP_Logger::instance, MainWP\Dashboard\MainWP_Logger->__construct, MainWP\Dashboard\MainWP_Logger->get_log_status, MainWP\Dashboard\MainWP_DB->get_websites_count
WordPress database error Table 'databasename.wp_mainwp_api_keys' doesn't exist for query SELECT * FROM wp_mainwp_api_keys WHERE enabled = 1 LIMIT 1 made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/mainwp/mainwp.php'), MainWP\Dashboard\MainWP_System->__construct, MainWP\Dashboard\MainWP_Includes->includes, require_once('/plugins/mainwp/includes/class-mainwp-setup.php'), MainWP_Setup::instance, MainWP_Setup->__construct, MainWP_Setup->includes, include_once('/plugins/mainwp/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php'), MainWP\Dashboard\Rest_Api_V1->init, MainWP\Dashboard\Rest_Api_V1->is_rest_api_enabled, MainWP\Dashboard\Rest_Api_V1->enabled_rest_v2_api, MainWP\Dashboard\MainWP_DB->is_existed_enabled_rest_key

Occurrence: once
Not blocking, just some missing checks, I think.

Thanks, @josklever.

I’ve reproduced the issue by installing MainWP Dashboard on a fresh WordPress installation running 8.4.10.

We will have it fixed in an upcoming release.

1 Like

Hey @josklever

The fix for this was included in version 5.4.0.21 of the MainWP Dashboard plugin, released on Aug 26, 2025.

Thanks again for reporting this to us.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.