Automattic / woocommerce-subscriptions-core

Subscriptions core package for WooCommerce
Other
81 stars 29 forks source link

Subscription renewal failure - WCS_Related_Order_Store_Cached_CPT::add_relation() #494

Closed robm92 closed 5 months ago

robm92 commented 11 months ago

Describe the bug

We are getting numerous failed subscription renewal scheduled actions on the dashboard, all with the same error:

failed to finish processing due to the following exception: Argument 1 passed to WCS_Related_Order_Store_Cached_CPT::add_relation() must be an instance of WC_Order, bool given, called in /home/{site name}/public_html/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/wcs-renewal-functions.php on line 36

Product impact

Woocommerce Subscriptions plugin

solstudioim commented 11 months ago

Found something similar in this ticket: 6507998-zd-a8c

robm92 commented 10 months ago

Any update on this? Do you have a link to the ticket or is it internal?

WillBrubaker commented 9 months ago

I've got one of these, the fatal is happening right after a database deadlock in that case. #6553698-zen