Non lifetime subscription renewals breaking after plugin installed
-
When we activate the lifetime subscriptions plugin, our regular periodic subscription renewals begin to fail in the following way:
The renewal order is processed, the subscription put on hold, and then payment completed as normal. However, the subscription remains on hold and does not transition back to active status as it normally would. If an admin user attempts to manually change the subscription status, the following fatal error is thrown:
PHP Fatal error: Uncaught Error: Call to a member function get_meta() on bool in /nas/content/live/oursite/wp-content/plugins/lifetime-subscriptions-for-woocommerce/lib/class-hook-product.php:76
Stack trace:
[internal function]:QuadLayers\LSFW\Hook_Product->QuadLayers\LSFW{closure}(Object(WC_Order_Item_Product)) 1 /nas/content/live/oursite/wp-content/plugins/lifetime-subscriptions-for-woocommerce/lib/class-hook-product.php(79): array_map(Object(Closure), Array)
/nas/content/live/oursite/wp-includes/class-wp-hook.php(324): QuadLayers\LSFW\Hook_Product->lifetime_calculated_next_payment_date(‘2024-07-15 03:5…’, Object(WC_Subscription))
/nas/content/live/oursite/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘2024-07-15 03:5…’, Array)
/nas/content/live/oursite/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/class-wc-subscription.php(1547): apply_filters(‘woocommerce_sub…’, ‘2024-07-15 03:5…’, Object(WC_Subscription))/nas/content/live/sfdmem in /nas/content/live/oursite/wp-content/plugins/lifetime-subscriptions-for-woocommerce/lib/class-hook-product.php on line 76
So we need to deactivate the plugin to allow subscription renewals to resume as normal. Our subscription products are all simple, virtual subscriptions. Any ideas why this might be happening? Happy to send you a system status report if necessary.
- You must be logged in to reply to this topic.