Title: Undefined method &#8220;webhook_updated&#8221;
Last modified: April 25, 2022

---

# Undefined method “webhook_updated”

 *  [tineyoghurt](https://wordpress.org/support/users/tineyoghurt/)
 * (@tineyoghurt)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/undefined-method-webhook_updated/)
 * When webhooks are updated after being delivered this error occurs:
 *     ```
       2022-04-25T06:45:57+00:00 CRITICAL Uncaught TypeError: call_user_func_array(): Argument #1 ($function) must be a valid callback, class WSAL_Sensors_WooCommerce does not have a method "webhook_updated" in /var/app/current/woapi/wp-includes/class-wp-hook.php:307
       Stack trace:
       #0 /var/app/current/woapi/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
       #1 /var/app/current/woapi/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
       #2 /var/app/current/woapi/wp-content/plugins/woocommerce/includes/data-stores/class-wc-webhook-data-store.php(166): do_action('woocommerce_web...', 3)
       #3 /var/app/current/woapi/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(179): WC_Webhook_Data_Store->update(Object(WC_Webhook))
       #4 /var/app/current/woapi/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(216): WC_Data_Store->update(Object(WC_Webhook))
       ```
   
 * WP version 5.9.3
    Woocommerce version 6.4.1 Plugin version 1.4.2
    -  This topic was modified 4 years, 1 month ago by [tineyoghurt](https://wordpress.org/support/users/tineyoghurt/).

Viewing 1 replies (of 1 total)

 *  Plugin Support [Danny Jones](https://wordpress.org/support/users/distinctivepixels/)
 * (@distinctivepixels)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/undefined-method-webhook_updated/#post-15587714)
 * Hello [@tineyoghurt](https://wordpress.org/support/users/tineyoghurt/),
 * Thanks very much for the report – can you please email me directly on [support@wpwhitesecurity.com](https://wordpress.org/support/topic/undefined-method-webhook_updated/support@wpwhitesecurity.com?output_format=md)
   so I can discuss this further with you and provide a patch?
 * Look forward to hearing from you.
 * Kind regards, Daniel @ WP White Security

Viewing 1 replies (of 1 total)

The topic ‘Undefined method “webhook_updated”’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-activity-log-for-woocommerce_66be8f.
   svg)
 * [WP Activity Log for WooCommerce](https://wordpress.org/plugins/wp-activity-log-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-activity-log-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-activity-log-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-activity-log-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-activity-log-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-activity-log-for-woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Danny Jones](https://wordpress.org/support/users/distinctivepixels/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/undefined-method-webhook_updated/#post-15587714)
 * Status: not resolved