Skip to content

Renewals not working with 7.0.0 version #757

Open
@tobias992

Description

Describe the bug

Subscription renewal is not working as expected. Please check the log.

All renewals are now having problems and won't proceed.

If you need more information, please let me know.

Product impact

  • Does this issue affect WooCommerce Subscriptions? yes/no/tbc, add issue ref
  • Does this issue affect WooCommerce Payments? yes/no/tbc, add issue ref

Additional context

2025-01-02T14:57:07+00:00 ERROR scheduled action 25833 (subscription payment) failed to finish processing due to the following exception: Call to a member function get_total() on bool in /home/meineseite/html/docs/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/class-wc-subscriptions-manager.php:155 CONTEXT: {"action_args":"subscription_id: 3932","error_trace":"#0 /home/meineseite/html/docs/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/class-wc-subscriptions-manager.php(116): WC_Subscriptions_Manager::process_renewal()n#1 /home/meineseite/html/docs/wp-includes/class-wp-hook.php(324): WC_Subscriptions_Manager::prepare_renewal()n#2 /home/meineseite/html/docs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()n#3 /home/meineseite/html/docs/wp-includes/plugin.php(565): WP_Hook->do_action()n#4 /home/meineseite/html/docs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/actions/ActionScheduler_Action.php(67): do_action_ref_array()n#5 /home/meineseite/html/docs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(89): ActionScheduler_Action->execute()n#6 /home/meineseite/html/docs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(170): ActionScheduler_Abstract_QueueRunner->process_action()n#7 /home/meineseite/html/docs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(140): ActionScheduler_QueueRunner->do_batch()n#8 /home/meineseite/html/docs/wp-includes/class-wp-hook.php(324): ActionScheduler_QueueRunner->run()n#9 /home/meineseite/html/docs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()n#10 /home/meineseite/html/docs/wp-includes/plugin.php(565): WP_Hook->do_action()n#11 phar:///usr/local/bin/wp/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(361): do_action_ref_array()n#12 phar:///usr/local/bin/wp/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(284): Cron_Event_Command::run_event()n#13 [internal function]: Cron_Event_Command->run()n#14 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func()n#15 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}()n#16 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(497): call_user_func()n#17 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(441): WP_CLI\Dispatcher\Subcommand->invoke()n#18 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(464): WP_CLI\Runner->run_command()n#19 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1295): WP_CLI\Runner->run_command_and_exit()n#20 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()n#21 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(83): WP_CLI\Bootstrap\LaunchRunner->process()n#22 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap()n#23 phar:///usr/local/bin/wp/php/boot-phar.php(20): include('...')n#24 /usr/local/bin/wp(4): include('...')n#25 {main}"}
2025-01-02T20:41:05+00:00 ERROR scheduled action 25863 (subscription payment) failed to finish processing due to the following exception: Call to a member function get_total() on bool in /home/meineseite/html/docs/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/class-wc-subscriptions-manager.php:155 CONTEXT: {"action_args":"subscription_id: 2077","error_trace":"#0 /home/meineseite/html/docs/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/class-wc-subscriptions-manager.php(116): WC_Subscriptions_Manager::process_renewal()n#1 /home/meineseite/html/docs/wp-includes/class-wp-hook.php(324): WC_Subscriptions_Manager::prepare_renewal()n#2 /home/meineseite/html/docs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()n#3 /home/meineseite/html/docs/wp-includes/plugin.php(565): WP_Hook->do_action()n#4 /home/meineseite/html/docs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/actions/ActionScheduler_Action.php(67): do_action_ref_array()n#5 /home/meineseite/html/docs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(89): ActionScheduler_Action->execute()n#6 /home/meineseite/html/docs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(170): ActionScheduler_Abstract_QueueRunner->process_action()n#7 /home/meineseite/html/docs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(140): ActionScheduler_QueueRunner->do_batch()n#8 /home/meineseite/html/docs/wp-includes/class-wp-hook.php(324): ActionScheduler_QueueRunner->run()n#9 /home/meineseite/html/docs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()n#10 /home/meineseite/html/docs/wp-includes/plugin.php(565): WP_Hook->do_action()n#11 phar:///usr/local/bin/wp/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(361): do_action_ref_array()n#12 phar:///usr/local/bin/wp/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(284): Cron_Event_Command::run_event()n#13 [internal function]: Cron_Event_Command->run()n#14 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func()n#15 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}()n#16 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(497): call_user_func()n#17 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(441): WP_CLI\Dispatcher\Subcommand->invoke()n#18 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(464): WP_CLI\Runner->run_command()n#19 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1295): WP_CLI\Runner->run_command_and_exit()n#20 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()n#21 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(83): WP_CLI\Bootstrap\LaunchRunner->process()n#22 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap()n#23 phar:///usr/local/bin/wp/php/boot-phar.php(20): include('...')n#24 /usr/local/bin/wp(4): include('...')n#25 {main}"}

Metadata

Assignees

No one assigned

    Labels

    type: bugThe issue is a confirmed bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions