I am using the WooCommerce Subscriptions plugin for managing subscription products on my website. When I add a subscription product to the cart, then go to the cart page, I see the following error when I expect to see the total:
call_user_func_array() expects parameter 1 to be a valid callback, class 'WC_CDP' does not have a method 'get_subscription_price_string' in /home/public_html/wp-includes/class-wp-hook.php on line 298
I can remove the warning in the settings defined in wp_config.php
, but it does not resolve the the issue to display the total.
Has anyone come across this problem? How can I get the total to display correctly?