error in /vendor/woocommerce but WC not loaded
-
This WP site doesn’t have the WC plugin loaded, and yet we are seeing these errors:
[21-Apr-2025 19:34:46 UTC] WordPress database error Table 'bmw.wpkkk_actionscheduler_actions' doesn't exist for query UPDATE wpkkk_actionscheduler_actions SET claim_id=0, last_attempt_gmt='2025-04-21 19:34:46', last_attempt_local='2025-04-22 05:34:46' WHERE claim_id = 0 AND scheduled_date_gmt <= '2025-04-21 19:34:46' AND status='pending' ORDER BY priority ASC, attempts ASC, scheduled_date_gmt ASC, action_id ASC LIMIT 25 made by do_action_ref_array('action_scheduler_run_queue'), WP_Hook->do_action, WP_Hook->apply_filters, ActionScheduler_QueueRunner->run, ActionScheduler_QueueRunner->do_batch, ActionScheduler_HybridStore->stake_claim, ActionScheduler_DBStore->stake_claim, ActionScheduler_DBStore->claim_actions
[21-Apr-2025 19:34:46 UTC] PHP Fatal error: Uncaught RuntimeException: Unable to claim actions. Database error: Table 'bmw.wpkkk_actionscheduler_actions' doesn't exist. in /home/lamp/wordpress/plugins/wp-mail-smtp/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:942
Stack trace: 0 /home/lamp/wordpress/plugins/wp-mail-smtp/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php(799): ActionScheduler_DBStore->claim_actions(0, 25, NULL, '', '') 1 /home/lamp/wordpress/plugins/wp-mail-smtp/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(221): ActionScheduler_DBStore->stake_claim(25, NULL, Array, '') 2 /home/lamp/wordpress/plugins/wp-mail-smtp/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php(160): ActionScheduler_HybridStore->stake_claim(25) 3 /home/lamp/wordpress/plugins/wp-mail-smtp/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php(139): ActionScheduler_QueueRunner->do_batch(25, 'WP Cron') 4 /home/lamp/wordpress/core/wp6.8/wp-includes/class-wp-hook.php(324): ActionScheduler_QueueRunner->run('WP Cron') 5 /home/lamp/wordpress/core/wp6.8/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) 6 /home/lamp/wordpress/core/wp6.8/wp-includes/plugin.php(565): WP_Hook->do_action(Array) 7 /home/lamp/wordpress/core/wp6.8/wp-cron.php(191): do_action_ref_array('action_schedule…', Array) 8 {main}thrown in /home/lamp/wordpress/plugins/wp-mail-smtp/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php on line 942I’m anticipating a reply that some other plugin must be doing bad things. But if WC isn’t loaded, why is SMTP calling /vender/woocommerce? Could a check be made before calling, to prevent this error, no matter how it is caused?
Thanks!
- This topic was modified 7 months, 3 weeks ago by .
- This topic was modified 7 months, 3 weeks ago by .
- This topic was modified 7 months, 3 weeks ago by . Reason: upgraded to WP6.8
The page I need help with: [log in to see the link]
The topic ‘error in /vendor/woocommerce but WC not loaded’ is closed to new replies.