Title: Woocommerce php fatal error.
Last modified: September 13, 2020

---

# Woocommerce php fatal error.

 *  Resolved [SBfoto](https://wordpress.org/support/users/256studio/)
 * (@256studio)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/woocommerce-php-fatal-error/)
 * Why am I getting this error and I do not have Woocommerce installed at all?
 * PHP Fatal error: Uncaught RuntimeException: Unable to claim actions. Database
   error. in /wp-content/plugins/wp-mail-smtp/vendor/woocommerce/action-scheduler/
   classes/data-stores/ActionScheduler_DBStore.php:675

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

 *  [boyann](https://wordpress.org/support/users/boyann/)
 * (@boyann)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/woocommerce-php-fatal-error/#post-13407004)
 * I am getting the same error. I’ve tried to downgrade WP to 5.3, disabled all 
   other plugins and main theme and still getting this error:
 * WordPress database error: [Table ‘database.wp_actionscheduler_actions’ doesn’t
   exist]
    SELECT a.action_id FROM wpsa_actionscheduler_actions a WHERE a.hook=’
   action_scheduler/migration_hook’ AND a.status=’in-progress’ ORDER BY scheduled_date_gmt
   DESC LIMIT 1 WordPress database error: [Table ‘database.wp_actionscheduler_actions’
   doesn’t exist] SELECT a.action_id FROM wpsa_actionscheduler_actions a WHERE a.
   hook=’action_scheduler/migration_hook’ AND a.status=’pending’ ORDER BY scheduled_date_gmt
   ASC LIMIT 1 WordPress database error: [Table ‘database.wp_actionscheduler_actions’
   doesn’t exist] SELECT a.action_id FROM wpsa_actionscheduler_actions a WHERE a.
   hook=’action_scheduler/migration_hook’ AND a.status=’in-progress’ ORDER BY scheduled_date_gmt
   DESC LIMIT 1 WordPress database error: [Table ‘database.wp_actionscheduler_actions’
   doesn’t exist] SELECT a.action_id FROM wpsa_actionscheduler_actions a WHERE a.
   hook=’action_scheduler/migration_hook’ AND a.status=’pending’ ORDER BY scheduled_date_gmt
   ASC LIMIT 1 WordPress database error: [Table ‘database.wp_actionscheduler_groups’
   doesn’t exist] SELECT group_id FROM wpsa_actionscheduler_groups WHERE slug=’action-
   scheduler-migration’ WordPress database error: [Table ‘database.wp_actionscheduler_groups’
   doesn’t exist] SHOW FULL COLUMNS FROM `wpsa_actionscheduler_groups` WordPress
   database error: [Table ‘database.wp_actionscheduler_actions’ doesn’t exist] SHOW
   FULL COLUMNS FROM `wpsa_actionscheduler_actions`
 * Fatal error: Uncaught RuntimeException: Error saving action: Error saving action:
   Table ‘database.wp_actionscheduler_actions’ doesn’t exist in /home/user/somesite.
   com/wp-content/plugins/wp-mail-smtp/vendor/woocommerce/action-scheduler/classes/
   migration/ActionScheduler_DBStoreMigrator.php:44 Stack trace: #0 /home/user/somesite.
   com/wp-content/plugins/wp-mail-smtp/vendor/woocommerce/action-scheduler/classes/
   data-stores/ActionScheduler_HybridStore.php(242): ActionScheduler_DBStoreMigrator-
   >save_action(Object(ActionScheduler_Action), NULL) #1 /home/user/somesite.com/
   wp-content/plugins/wp-mail-smtp/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.
   php(177): ActionScheduler_HybridStore->save_action(Object(ActionScheduler_Action))#
   2 /home/user/somesite.com/wp-content/plugins/wp-mail-smtp/vendor/woocommerce/
   action-scheduler/classes/ActionScheduler_ActionFactory.php(84): ActionScheduler_ActionFactory-
   >store(Object(ActionScheduler_Action)) #3 /home/serbianc/tes in /home/user/somesite.
   com/wp-content/plugins/wp-mail-smtp/vendor/woocommerce/action-scheduler/classes/
   migration/ActionScheduler_DBStoreMigrator.php on line 44
    There has been a critical
   error on your website.
 * Any possible solution?
    “WP Mail SMTP” is a best handler that I’ve been using
   from the first day.
 *  [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * (@sanzeeb3)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/woocommerce-php-fatal-error/#post-13412550)
 * Hi [@boyann](https://wordpress.org/support/users/boyann/), [@256studio](https://wordpress.org/support/users/256studio/),
 * I’m sorry to hear that you run into the issues with Action Scheduler. Please 
   follow this [troubleshooting guide](https://wpmailsmtp.com/docs/how-to-troubleshoot-action-scheduler-issues-wp-mail-smtp-2-1-1/)
   for more details about the issue and the possible solution.
 * I hope this helps!
 *  [boyann](https://wordpress.org/support/users/boyann/)
 * (@boyann)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/woocommerce-php-fatal-error/#post-13427111)
 * Hi [@sanzeeb3](https://wordpress.org/support/users/sanzeeb3/),
    Thanks for the
   fast reply.
 * I have tried to install action scheduler but I can’t activate it. I’m getting
   similar (or same) error.
    Site is hosted at the Namecheap and they provided me
   this troubleshoot page.
 *  [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * (@sanzeeb3)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/woocommerce-php-fatal-error/#post-13432024)
 * Hi [@boyann](https://wordpress.org/support/users/boyann/),
 * Thanks for the additional information. There’s probably some misconfiguration
   that your site is not able to create the required database tables. Please follow
   the steps pointed out in [this thread](https://wordpress.org/support/topic/there-has-been-a-critical-error-on-your-website-65/#post-13202786).
   This will make sure to repair the tables and recreate them.
 * I hope this helps!

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

The topic ‘Woocommerce php fatal error.’ is closed to new replies.

 * ![](https://ps.w.org/wp-mail-smtp/assets/icon-256x256.png?rev=1755440)
 * [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin](https://wordpress.org/plugins/wp-mail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp/reviews/)

## Tags

 * [not installed](https://wordpress.org/support/topic-tag/not-installed/)
 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 4 replies
 * 3 participants
 * Last reply from: [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/woocommerce-php-fatal-error/#post-13432024)
 * Status: resolved