Title: WordPress database error
Last modified: January 8, 2024

---

# WordPress database error

 *  Resolved [tvojamami](https://wordpress.org/support/users/jenkoanze/)
 * (@jenkoanze)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/wordpress-database-error-201/)
 * Hello,
 * after activating and configuring RankMath SEO plugin I’m getting my error_log
   populated with below errors:
   [08-Jan-2024 13:48:21 UTC] WordPress database error
   Table ‘database.wp_actionscheduler_actions’ doesn’t exist for query SELECT a.
   action_id FROM wp_actionscheduler_actions a WHERE 1=1 AND a.hook=’action_scheduler/
   migration_hook’ AND a.status IN (‘in-progress’) ORDER BY a.scheduled_date_gmt
   ASC LIMIT 0, 1 made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’),
   require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘wp_loaded’),
   WP_Hook->do_action, WP_Hook->apply_filters, Action_Scheduler\Migration\Controller-
   >schedule_migration, Action_Scheduler\Migration\Scheduler->is_migration_scheduled,
   as_next_scheduled_action, ActionScheduler_Store->query_action, ActionScheduler_HybridStore-
   >query_actions, ActionScheduler_DBStore->query_actions
 * [08-Jan-2024 13:48:21 UTC] WordPress database error Table ‘database.wp_actionscheduler_actions’
   doesn’t exist for query SELECT a.action_id FROM wp_actionscheduler_actions a 
   WHERE 1=1 AND a.hook=’action_scheduler/migration_hook’ AND a.status IN (‘pending’)
   ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1 made by require(‘wp-blog-header.
   php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘
   wp-settings.php’), do_action(‘wp_loaded’), WP_Hook->do_action, WP_Hook->apply_filters,
   Action_Scheduler\Migration\Controller->schedule_migration, Action_Scheduler\Migration\
   Scheduler->is_migration_scheduled, as_next_scheduled_action, ActionScheduler_Store-
   >query_action, ActionScheduler_HybridStore->query_actions, ActionScheduler_DBStore-
   >query_actions
 * The page never had WooCommerce installed and I’ve also deactivated all other 
   plugins and activated default WP template and this error is still presenting 
   itself.
   Kind regards,Anze

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [tvojamami](https://wordpress.org/support/users/jenkoanze/)
 * (@jenkoanze)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/wordpress-database-error-201/#post-17326220)
 * Let me just add that those 2 queries run on every visit of homepage (no extra
   actions).
 *  Plugin Support [Rank Math Support](https://wordpress.org/support/users/rankmathsupport/)
 * (@rankmathsupport)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/wordpress-database-error-201/#post-17333238)
 * Hello [@jenkoanze](https://wordpress.org/support/users/jenkoanze/),
 * Thank you for contacting Rank Math support.
 * Our plugin uses Action Scheduler to schedule and run actions, and the error indicates
   that the action scheduler database tables are missing on your site. Please follow
   this guide to create the action scheduler tables and fix the issue: [https://rankmath.com/kb/fatal-error-after-1-0-49-update/](https://rankmath.com/kb/fatal-error-after-1-0-49-update/)
 * Hope that helps and please do not hesitate to let us know if you need our assistance
   with anything else.
 *  Thread Starter [tvojamami](https://wordpress.org/support/users/jenkoanze/)
 * (@jenkoanze)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/wordpress-database-error-201/#post-17333259)
 * Hello,
 * thank you for your reply and instructions.
 * Errors are fixed now.
   Kind regards,Anze
 *  Plugin Support [Rank Math Support](https://wordpress.org/support/users/rankmathsupport/)
 * (@rankmathsupport)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/wordpress-database-error-201/#post-17334612)
 * Hello [@jenkoanze](https://wordpress.org/support/users/jenkoanze/),
 * We are glad that your issue is resolved.
 * Please feel free to create a new forum topic in case you need our assistance 
   with anything else.
 * Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WordPress database error’ is closed to new replies.

 * ![](https://ps.w.org/seo-by-rank-math/assets/icon.svg?rev=3438330)
 * [Rank Math SEO – AI SEO Tools to Dominate SEO Rankings](https://wordpress.org/plugins/seo-by-rank-math/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/seo-by-rank-math/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/seo-by-rank-math/)
 * [Active Topics](https://wordpress.org/support/plugin/seo-by-rank-math/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/seo-by-rank-math/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/seo-by-rank-math/reviews/)

## Tags

 * [WordPress database error](https://wordpress.org/support/topic-tag/wordpress-database-error/)

 * 4 replies
 * 2 participants
 * Last reply from: [Rank Math Support](https://wordpress.org/support/users/rankmathsupport/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/wordpress-database-error-201/#post-17334612)
 * Status: resolved