Too few arguments to function MailChimp_Service::handleOrderUpdate()
-
Hi,
I’m using your plugin “Mailchimp for WooCommerce” on my client’s website. This site uses “Woocommerce” together with “WooCommerce Subscriptions”. With the last few subscription renewal payments I got the following error:
7-13-2023 @ 17:25:50 - scheduled action 70676 (subscription payment) failed to finish processing due to the following error: Uncaught ArgumentCountError: Too few arguments to function MailChimp_Service::handleOrderUpdate(), 1 passed in /wp-includes/class-wp-hook.php on line 308 and exactly 2 expected in /wp-content/plugins/mailchimp-for-woocommerce/includes/class-mailchimp-woocommerce-service.php:511 Stack trace: #0 /wp-includes/class-wp-hook.php(308): MailChimp_Service->handleOrderUpdate() #1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #2 /wp-includes/plugin.php(517): WP_Hook->do_action() #3 /wp-content/plugins/woocommerce-subscriptions/includes/data-stores/class-wcs-subscription-data-store-cpt.php(189): do_action() #4 /wp-content/plugins/woocommerce/includes/class-wc-data-store.php(196): WCS_Subscription_Data_Store_CPT->update() #5 /wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(212): WC_Data_Store->update() #6 /wp-content/plugins/woocommerce/includes/class-wc-order.php(244): WC_Abstract_Order->save() #7 /wp-content/plugins/woocommerce-subscriptions/includes/class-wc-subscription.php(529): WC_Order->save() #8 /wp-content/plugins/woocommerce-subscriptions/includes/class-wc-subscriptions-manager.php(113): WC_Subscription->update_status() #9 /wp-content/plugins/woocommerce-subscriptions/includes/class-wc-subscriptions-manager.php(89): WC_Subscriptions_Manager::process_renewal() #10 /wp-includes/class-wp-hook.php(308): WC_Subscriptions_Manager::prepare_renewal() #11 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #12 /wp-includes/plugin.php(565): WP_Hook->do_action() #13 /wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/actions/ActionScheduler_Action.php(43): do_action_ref_array() #14 /wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute() #15 /wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueRunner.php(166): ActionScheduler_Abstract_QueueRunner->process_action() #16 /wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueRunner.php(136): ActionScheduler_QueueRunner->do_batch() #17 /wp-includes/class-wp-hook.php(308): ActionScheduler_QueueRunner->run() #18 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #19 /wp-includes/plugin.php(565): WP_Hook->do_action() #20 /wp-cron.php(188): do_action_ref_array() #21 {main} thrown 07-13-2023 @ 17:25:50 - action args: subscription_id: 8010
I had to deactivate your plugin.
Can you please help me to correct this problem so that I can activate your plugin again?
Regards,
HolgerThe page I need help with: [log in to see the link]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Too few arguments to function MailChimp_Service::handleOrderUpdate()’ is closed to new replies.