Problems with Cron Scheduals crashing site
-
have been having problems for about 12 months now where my site keeps crashing
hosting company says its because of MySql processes are not closing correctly and pile uphave have searched the net for months and everything keeps pointing me back to the woocommerce admin plugin being the issue (i installed this over a year agao and also uninstalled it)
when i look at my processes and I/O usage i can see it spikes at 17mins past the hour every hour and builds up until it crashes
these are the errors im seeing on repeat
Woocommerce – status -logs
022-05-07T04:15:11+00:00 ERROR Error on orders updateEbatNs_ResponseError Object ( [Ack:protected] => Failure [Errors:protected] => Array ( [0] => ErrorType Object ( [ShortMessage:protected] => [LongMessage:protected] => soap-fault: Expired IAF token. [ErrorCode:protected] => 90002 [UserDisplayHint:protected] => [SeverityCode:protected] => Error [ErrorParameters:protected] => [ErrorClassification:protected] => SystemError ) [1] => ErrorType Object ( [ShortMessage:protected] => [LongMessage:protected] => IAF token supplied is expired. [ErrorCode:protected] => 21917053 [UserDisplayHint:protected] => [SeverityCode:protected] => Error [ErrorParameters:protected] => [ErrorClassification:protected] => SystemError
woocommerce – scheduled actions – failed
2022-06-06 01:16:30 +0000
action created
2022-06-06 01:17:33 +0000
action started via Async Request
2022-06-06 01:17:33 +0000
unexpected shutdown: PHP fatal error Uncaught DivisionByZeroError: Division by zero in /home/aquariu2/public_html/wp-content/plugins/woocommerce/src/Admin/Overrides/OrderTraits.php:34 Stack trace: #0 /home/aquariu2/public_html/wp-content/plugins/woocommerce/src/Admin/API/Reports/Products/DataStore.php(412): Automattic\WooCommerce\Admin\Overrides\OrderRefund->get_item_shipping_amount() #1 /home/aquariu2/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Schedulers/OrdersScheduler.php(169): Automattic\WooCommerce\Admin\API\Reports\Products\DataStore::sync_order_products() #2 [internal function]: Automattic\WooCommerce\Internal\Admin\Schedulers\OrdersScheduler::import() #3 /home/aquariu2/public_html/wp-content/plugins/woocommerce/src/Admin/Schedulers/SchedulerTraits.php(267): call_user_func_array() #4 /home/aquariu2/public_html/wp-includes/class-wp-hook.php(307): Automattic\WooCommerce\Internal\Admin\Schedulers\ImportScheduler::do_action_or_reschedule() #5 /home/aquariu2/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #6 /home/aquariu2/public_html/wp-includes/plugin.php(524): WP_Hook->do_action() #7 /home/aquariu2/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/actions/ActionScheduler_Action.php(22): do_action_ref_array() #8 /home/aquariu2/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute() #9 /home/aquariu2/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(162): ActionScheduler_Abstract_QueueRunner->process_action() #10 /home/aquariu2/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(132): ActionScheduler_QueueRunner->do_batch() #11 /home/aquariu2/public_html/wp-includes/class-wp-hook.php(307): ActionScheduler_QueueRunner->run() #12 /home/aquariu2/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #13 /home/aquariu2/public_html/wp-includes/plugin.php(476): WP_Hook->do_action() #14 /home/aquariu2/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_AsyncRequest_QueueRunner.php(52): do_action() #15 /home/aquariu2/public_html/wp-content/plugins/back-in-stock-notifier-for-woocommerce/includes/library/wp-async-request.php(149): ActionScheduler_AsyncRequest_QueueRunner->handle() #16 /home/aquariu2/public_html/wp-includes/class-wp-hook.php(307): WP_Async_Request->maybe_handle() #17 /home/aquariu2/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #18 /home/aquariu2/public_html/wp-includes/plugin.php(476): WP_Hook->do_action() #19 /home/aquariu2/public_html/wp-admin/admin-ajax.php(202): do_action() #20 {main} thrown in /home/aquariu2/public_html/wp-content/plugins/woocommerce/src/Admin/Overrides/OrderTraits.php on line 34`
`The page I need help with: [log in to see the link]
- The topic ‘Problems with Cron Scheduals crashing site’ is closed to new replies.