Title: PHP Errors
Last modified: November 16, 2023

---

# PHP Errors

 *  Resolved [rochow](https://wordpress.org/support/users/rochow/)
 * (@rochow)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/php-errors-308/)
 * Not sure emails are sending, see a number of these fatal errors in Action Scheduler.
 * 2023-11-16T03:39:30+00:00 CRITICAL Uncaught InvalidArgumentException: Unidentified
   action 1801421 in /wp-content/plugins/woocommerce/packages/action-scheduler/classes/
   data-stores/ActionScheduler_DBStore.php:1085
   Stack trace: 0 /wp-content/plugins/
   woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.
   php(120): ActionScheduler_DBStore->mark_failure() 1 /wp-content/plugins/woocommerce/
   packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.
   php(98): ActionScheduler_Abstract_QueueRunner->handle_action_error() 2 /wp-content/
   plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.
   php(169): ActionScheduler_Abstract_QueueRunner->process_action() 3 /wp-content/
   plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.
   php(139): ActionScheduler_QueueRunner->do_batch() 4 /wp-includes/class-wp-hook.
   php(310): ActionScheduler_QueueRunner->run() 5 /wp-includes/class-wp-hook.php(
   334): WP_Hook->apply_filters() 6 /wp-includes/plugin.php(517): WP_Hook->do_action()
   7 /wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_AsyncRequest_QueueRunner.
   php(52): do_action() 8 /wp-content/plugins/back-in-stock-notifier-for-woocommerce/
   includes/library/wp-async-request.php(157): ActionScheduler_AsyncRequest_QueueRunner-
   >handle() 9 /wp-includes/class-wp-hook.php(310): WP_Async_Request->maybe_handle()
   10 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() 11 /wp-includes/
   plugin.php(517): WP_Hook->do_action() 12 /wp-admin/admin-ajax.php(188): do_action()
   13 {main}
 * thrown in /wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-
   stores/ActionScheduler_DBStore.php on line 1085

Viewing 1 replies (of 1 total)

 *  [CodeWooGeek Support](https://wordpress.org/support/users/codewoogeeksupport/)
 * (@codewoogeeksupport)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/php-errors-308/#post-17208889)
 * Hello there,
 * Good Day!!
 * The error message indicates that there is an “Uncaught InvalidArgumentException”
   in the Action Scheduler of WooCommerce. This occurs when attempting to mark an
   action as failed, but the specified action with ID 1801421 cannot be found in
   the database. To troubleshoot and identify the root cause, you can follow these
   steps:
    1. Ensure that you are using the latest versions of WooCommerce and any related
       plugins, especially those related to Action Scheduler.
    2. Verify the existence of the action with ID 1801421 in the `wp_actionscheduler_actions`
       table of your WordPress database. If the action is missing, it might have been
       deleted or not created properly.
    3. Temporarily deactivate all other plugins except for “WooCommerce” and our “Back
       in Stock Notifier for WooCommerce” to see if the problem persists. Issues may
       arise due to conflicts between different plugins.
    4. Please check the WooCommerce log for any additional error messages or warnings
       related to Action Scheduler by navigating to the following: **Admin Dashboard
       > WooCommerce > Status > Logs.**
 * Thanks.

Viewing 1 replies (of 1 total)

The topic ‘PHP Errors’ is closed to new replies.

 * ![](https://ps.w.org/back-in-stock-notifier-for-woocommerce/assets/icon-256x256.
   gif?rev=3349374)
 * [Back In Stock Notifier for WooCommerce | WooCommerce Waitlist Pro](https://wordpress.org/plugins/back-in-stock-notifier-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/back-in-stock-notifier-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/back-in-stock-notifier-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/back-in-stock-notifier-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/back-in-stock-notifier-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/back-in-stock-notifier-for-woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [CodeWooGeek Support](https://wordpress.org/support/users/codewoogeeksupport/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/php-errors-308/#post-17208889)
 * Status: resolved