Fatal error when used with AutomateWoo
-
When creating a workflow on AutomateWoo, if we try to add a “Trigger Order Action”, your plugin is throwing a fatal error because the $order is a required argument to your function that hooks to the
woocommerce_order_actions
hook.<b>Fatal error</b> : Uncaught Error: Too few arguments to function WooCommerce\PayPalCommerce\PayPalSubscriptions\PayPalSubscriptionsModule::WooCommerce\PayPalCommerce\PayPalSubscriptions\{closure}(), 1 passed in /.../wp-includes/class-wp-hook.php on line 324 and exactly 2 expected<br> in <b>/.../wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-paypal-subscriptions/src/PayPalSubscriptionsModule.php</b> on line <b>199</b>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Fatal error when used with AutomateWoo’ is closed to new replies.