woocommerce actionscheduler php fatal error
-
Hi,
I run into issues with woocommerce action scheduler, this happens when i attempted to push my work from production to live site… I installed woocommerce on my production and when i push, the site went down, giving me NS_ERROR_CONNECTION_REFUSED…
I run through the apache2 logs, and here are some errors I found
[Fri Jun 09 03:28:51.357522 2023] [authz_core:error] [pid 518327] [client 139.144.150.205:41870] AH01630: client denied by server configuration: /var/www/html/server-status [Fri Jun 09 06:34:50.108907 2023] [access_compat:error] [pid 520816] [client 127.0.0.1:34254] AH01797: client denied by server configuration: /var/www/html/wp-content/uploads/woocommerce_uploads/ [Fri Jun 09 09:13:24.811628 2023] [php:error] [pid 521573] [client 127.0.0.1:59918] PHP Fatal error: Uncaught RuntimeException: Unable to claim actions. Database error. in /var/www/html/staging/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:864\nStack trace:\n#0 /var/www/html/staging/ wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php(778): ActionScheduler_DBStore->claim_actions()\n#1 /var/www/html/st aging/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(157): ActionScheduler_DBStore->stake_claim()\n#2 /var/www/html/stagin g/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(136): ActionScheduler_QueueRunner->do_batch()\n#3 /var/www/html/staging/w p-includes/class-wp-hook.php(308): ActionScheduler_QueueRunner->run()\n#4 /var/www/html/staging/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()\n#5 /var/www/ht ml/staging/wp-includes/plugin.php(565): WP_Hook->do_action()\n#6 /var/www/html/staging/wp-cron.php(188): do_action_ref_array()\n#7 {main}\n thrown in /var/www/html/staging /wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php on line 864 [Fri Jun 09 09:13:38.412944 2023] [php:error] [pid 518183] [client 1.9.150.6:58232] PHP Fatal error: Uncaught RuntimeException: Error saving action: Table 'wordpress.wpstg 0_actionscheduler_actions' doesn't exist in /var/www/html/staging/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:1 18\nStack trace:\n#0 /var/www/html/staging/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php(62): ActionScheduler_DBS tore->save_action_to_db()\n#1 /var/www/html/staging/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(244): ActionScheduler _DBStore->save_action()\n#2 /var/www/html/staging/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(151): ActionScheduler_A ctionFactory->store()\n#3 /var/www/html/staging/wp-content/plugins/woocommerce/packages/action-scheduler/functions.php(122): ActionScheduler_ActionFactory->recurring_unique ()\n#4 /var/www/html/staging/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Domain/Services/DraftOrders.php(65): as_schedule_recurring_action()\n#5 /var/www /html/staging/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Domain/Services/DraftOrders.php(57): Automattic\\WooCommerce\\Blocks\\Domain\\Services\\DraftOr ders->maybe_create_cronjobs()\n#6 /var/www/html/staging/wp-includes/class-wp-hook.php(308): Automattic\\WooCommerce\\Blocks\\Domain\\Services\\DraftOrders->install()\n#7 /v ar/www/html/staging/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()\n#8 /var/www/html/staging/wp-includes/plugin.php(517): WP_Hook->do_action()\n#9 /var/www/ht ml/staging/wp-admin/admin.php(175): do_action()\n#10 /var/www/html/staging/wp-admin/index.php(10): require_once('...')\n#11 {main}\n thrown in /var/www/html/staging/wp-con tent/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php on line 118, referer: https://staging.strongmomstrongfam.com/staging/wp-l ogin.php?redirect_to=https%3A%2F%2Fstaging.strongmomstrongfam.com%2Fstaging%2Fwp-admin%2F&reauth=1 [Fri Jun 09 09:13:55.868349 2023] [php:error] [pid 521573] [client 1.9.150.6:58231] PHP Fatal error: Uncaught RuntimeException: Error saving action: Table 'wordpress.wpstg 0_actionscheduler_actions' doesn't exist in /var/www/html/staging/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:1 18\nStack trace:\n#0 /var/www/html/staging/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php(62): ActionScheduler_DBS tore->save_action_to_db()\n#1 /var/www/html/staging/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(244): ActionScheduler _DBStore->save_action()\n#2 /var/www/html/staging/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(151): ActionScheduler_A ctionFactory->store()\n#3 /var/www/html/staging/wp-content/plugins/woocommerce/packages/action-scheduler/functions.php(122): ActionScheduler_ActionFactory->recurring_unique ()\n#4 /var/www/html/staging/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Domain/Services/DraftOrders.php(65): as_schedule_recurring_action()\n#5 /var/www /html/staging/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Domain/Services/DraftOrders.php(57): Automattic\\WooCommerce\\Blocks\\Domain\\Services\\DraftOr ders->maybe_create_cronjobs()\n#6 /var/www/html/staging/wp-includes/class-wp-hook.php(308): Automattic\\WooCommerce\\Blocks\\Domain\\Services\\DraftOrders->install()\n#7 /v ar/www/html/staging/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()\n#8 /var/www/html/staging/wp-includes/plugin.php(517): WP_Hook->do_action()\n#9 /var/www/ht ml/staging/wp-admin/admin.php(175): do_action()\n#10 /var/www/html/staging/wp-admin/index.php(10): require_once('...')\n#11 {main}\n thrown in /var/www/html/staging/wp-con tent/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php on line 118, referer: https://staging.strongmomstrongfam.com/staging/wp-l ogin.php?redirect_to=https%3A%2F%2Fstaging.strongmomstrongfam.com%2Fstaging%2Fwp-admin%2F&reauth=1
I figured it is a database issue.. but I have no idea how to fix at all… I really welcome any pointers or directions into this issue, and how I bring my site back up again
Thank you so much
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘woocommerce actionscheduler php fatal error’ is closed to new replies.