You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When attempting to cancel a subscription, the system throws an error with the message: Subscription #254461: The cancelled date must occur after the last payment date. This issue prevents the subscription from being cancelled through the WooCommerce Subscriptions plugin.
To Reproduce
Go to the WooCommerce Subscriptions page in the WordPress admin panel.
Attempt to cancel a subscription (e.g., Subscription #254461).
Observe the error message that appears: The cancelled date must occur after the last payment date.
Expected behavior
The subscription should be cancelled without any errors as long as the cancellation date is set correctly.
Actual behavior
The system throws an error stating that the cancellation date must occur after the last payment date, even when this condition is met. This prevents the cancellation from being processed.
Product impact
Does this issue affect WooCommerce Subscriptions? Yes
Additional context
WooCommerce Subscriptions plugin version: 6.6.0
WordPress version: 6.6
System status report: Available upon request
`(
[message:protected] => Subscription #254461: The cancelled date must occur after the last payment date.
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /home/1253731.cloudwaysapps.com/gqeuensvmq/public_html/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/class-wc-subscription.php
[line:protected] => 2581
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /home/1253731.cloudwaysapps.com/gqeuensvmq/public_html/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/class-wc-subscription.php
[line] => 1358
[function] => validate_date_updates
[class] => WC_Subscription
[type] => ->
)
Describe the bug
When attempting to cancel a subscription, the system throws an error with the message: Subscription #254461: The cancelled date must occur after the last payment date. This issue prevents the subscription from being cancelled through the WooCommerce Subscriptions plugin.
To Reproduce
Go to the WooCommerce Subscriptions page in the WordPress admin panel.
Attempt to cancel a subscription (e.g., Subscription #254461).
Observe the error message that appears: The cancelled date must occur after the last payment date.
Expected behavior
The subscription should be cancelled without any errors as long as the cancellation date is set correctly.
Actual behavior
The system throws an error stating that the cancellation date must occur after the last payment date, even when this condition is met. This prevents the cancellation from being processed.
Product impact
Does this issue affect WooCommerce Subscriptions? Yes
Additional context
WooCommerce Subscriptions plugin version: 6.6.0
WordPress version: 6.6
System status report: Available upon request
`(
[message:protected] => Subscription #254461: The cancelled date must occur after the last payment date.
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /home/1253731.cloudwaysapps.com/gqeuensvmq/public_html/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/class-wc-subscription.php
[line:protected] => 2581
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /home/1253731.cloudwaysapps.com/gqeuensvmq/public_html/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/class-wc-subscription.php
[line] => 1358
[function] => validate_date_updates
[class] => WC_Subscription
[type] => ->
)
The text was updated successfully, but these errors were encountered: