Causing unliked Subscription products to fail
-
Hello
Although we are not using this plugin to force sell subscription products, it is causing the subscription products to fail at the time of renewal. The following is the error message that we could dig out from the logs:
11-17-2022 @ 20:55:41 - scheduled action 27387 (subscription payment) failed to finish processing due to the following error: Uncaught Error: Call to a member function get_id() on bool in /home/customer/www/optotutor.com/public_html/wp-content/plugins/wpc-force-sells/wpc-force-sells.php:696 Stack trace: #0 /home/customer/www/optotutor.com/public_html/wp-includes/class-wp-hook.php(308): WPCleverWoofs->new_order_item(5712, Object(WC_Order_Item_Product), 6261) #1 /home/customer/www/optotutor.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #2 /home/customer/www/optotutor.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home/customer/www/optotutor.com/public_html/wp-content/plugins/woocommerce/includes/wc-order-item-functions.php(39): do_action('woocommerce_new...', 5712, Object(WC_Order_Item_Product), 6261) #4 /home/customer/www/optotutor.com/public_html/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/wcs-order-functions.php(256): wc_add_order_item(6261, Array) #5 /home/customer/www/optotutor.com/public_html/wp-content/plugins/w 11-17-2022 @ 20:55:41 - action args: subscription_id: 6122
The plugin is only used to force sell two simple products when one or the other is selected.
Regards
Kamalesh.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Causing unliked Subscription products to fail’ is closed to new replies.