• Resolved SBfoto

    (@256studio)


    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)
  • 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.

    Hi @boyann, @256studio,

    I’m sorry to hear that you run into the issues with Action Scheduler. Please follow this troubleshooting guide for more details about the issue and the possible solution.

    I hope this helps!

    Hi @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.

    Hi @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. 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.