Critical error: Subscriptions are not renewing!
-
Hello @krzysztofskorupa
We are facing a critical error with subscriptions! All the subscriptions were working properly before the last update and we’re noticing a critical error after the update. We suspect that the error might be the reason for not renewing the subscription automatically. I’ve attached all the details below. Could you please take a look let us know how to solve the issue?
Best regards
## Versions:
Flexible Subscription: 1.7.0
WooCommerce: 10.4.3
WooCommerce PayPal Payments: 3.3.1
WooCommerce Stripe Gateway: 10.2.0
## Logs:
19/12/25 – https://prnt.sc/SA0i0-Zlr1W-
21/12/25 – https://prnt.sc/2MmWJlf4NQbU
22/12/25 – https://prnt.sc/9uLfjVWsyrZH
23/12/25 – https://prnt.sc/owD_cbLrQIXf
24/12/25 – https://prnt.sc/FEDEP8ok_sn9
04/01/26 – https://prnt.sc/eqVh5TGNpjO2## Error details:
2026-01-04T09:58:20+00:00 Critical Error processing payment request for subscription "9549": WooCommerce\PayPalCommerce\PayPalSubscriptions\PayPalSubscriptionsModule::WooCommerce\PayPalCommerce\PayPalSubscriptions\{closure}(): Argument #1 ($subscription) must be of type WC_Subscription, WPDesk\FlexibleSubscriptions\Subscription\Subscription given, called in /home/aneloleg/www/******.***/wp-includes/class-wp-hook.php on line 326
Additional context
{
"uid": "13078c8",
"trace": "#0 /home/aneloleg/www/******.***/wp-includes/class-wp-hook.php(326): WooCommerce\PayPalCommerce\PayPalSubscriptions\PayPalSubscriptionsModule->WooCommerce\PayPalCommerce\PayPalSubscriptions\{closure}()n#1 /home/aneloleg/www/******.***/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()n#2 /home/aneloleg/www/******.***/wp-includes/plugin.php(517): WP_Hook->do_action()n#3 /home/aneloleg/www/******.***/wp-content/plugins/flexible-subscriptions/src/HookProvider/Compatibility/StatusHookMapper.php(34): do_action()n#4 /home/aneloleg/www/******.***/wp-includes/class-wp-hook.php(324): WPDesk\FlexibleSubscriptions\HookProvider\Compatibility\StatusHookMapper->map_status_hooks()n#5 /home/aneloleg/www/******.***/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()n#6 /home/aneloleg/www/******.***/wp-includes/plugin.php(517): WP_Hook->do_action()n#7 /home/aneloleg/www/******.***/wp-content/plugins/flexible-subscriptions/src/Subscription/Subscription.php(496): do_action()n#8 /home/aneloleg/www/******.***/wp-content/plugins/woocommerce/includes/class-wc-order.php(285): WPDesk\FlexibleSubscriptions\Subscription\Subscription->status_transition()n#9 /home/aneloleg/www/******.***/wp-content/plugins/flexible-subscriptions/src/Subscription/Subscription.php(480): WC_Order->save()n#10 /home/aneloleg/www/******.***/wp-content/plugins/flexible-subscriptions/src/HookProvider/Subscription/PaymentRequestProcessor.php(116): WPDesk\FlexibleSubscriptions\Subscription\Subscription->update_status()n#11 /home/aneloleg/www/******.***/wp-content/plugins/flexible-subscriptions/src/HookProvider/Subscription/PaymentRequestProcessor.php(43): WPDesk\FlexibleSubscriptions\HookProvider\Subscription\PaymentRequestProcessor->do_process()n#12 /home/aneloleg/www/******.***/wp-includes/class-wp-hook.php(324): WPDesk\FlexibleSubscriptions\HookProvider\Subscription\PaymentRequestProcessor->__invoke()n#13 /home/aneloleg/www/******.***/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()n#14 /home/aneloleg/www/******.***/wp-includes/plugin.php(565): WP_Hook->do_action()n#15 /home/aneloleg/www/******.***/wp-content/plugins/woocommerce/packages/action-scheduler/classes/actions/ActionScheduler_Action.php(86): do_action_ref_array()n#16 /home/aneloleg/www/******.***/wp-content/plugins/woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(103): ActionScheduler_Action->execute()n#17 /home/aneloleg/www/******.***/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(188): ActionScheduler_Abstract_QueueRunner->process_action()n#18 /home/aneloleg/www/******.***/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(158): ActionScheduler_QueueRunner->do_batch()n#19 /home/aneloleg/www/******.***/wp-includes/class-wp-hook.php(324): ActionScheduler_QueueRunner->run()n#20 /home/aneloleg/www/******.***/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()n#21 /home/aneloleg/www/******.***/wp-includes/plugin.php(565): WP_Hook->do_action()n#22 /home/aneloleg/www/******.***/wp-cron.php(191): do_action_ref_array()n#23 {main}"
}
You must be logged in to reply to this topic.