• 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 2 years, 10 months ago by tineyoghurt.
Viewing 1 replies (of 1 total)
  • Plugin Support Danny Jones

    (@distinctivepixels)

    Hello @tineyoghurt,

    Thanks very much for the report – can you please email me directly on [email protected] 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.