Fatal error with Woocommerce Subscriptions
-
Hi, this plugin looks really promising. I was able to go through the configs easily but, when I left the settings page to test it out on my dev site, I got the following error:
Fatal error: Uncaught Error: Call to a member function get_order() on null in /path/to/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/wcs-functions.php on line 86 Call stack: wcs_get_subscription() wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/class-wc-subscriptions-manager.php:906 WC_Subscriptions_Manager::maybe_cancel_subscription() wp-includes/class-wp-hook.php:326 WP_Hook::apply_filters() wp-includes/class-wp-hook.php:348 WP_Hook::do_action() wp-includes/plugin.php:517 do_action() wp-includes/post.php:3444 wp_delete_post() wp-content/plugins/yaycurrency/includes/Helpers/Helper.php:221 Yay_Currency\Helpers\Helper::get_currencies_post_type() wp-content/plugins/yaycurrency/includes/Helpers/YayCurrencyHelper.php:118 Yay_Currency\Helpers\YayCurrencyHelper::converted_currency() wp-content/plugins/yaycurrency/includes/Helpers/YayCurrencyHelper.php:265 Yay_Currency\Helpers\YayCurrencyHelper::detect_current_currency() wp-content/plugins/yaycurrency/includes/Engine/Compatibles/WooCommerceNameYourPrice.php:24 Yay_Currency\E\C\WooCommerceNameYourPrice::__construct() wp-content/plugins/yaycurrency/includes/Utils/SingletonTrait.php:12 Yay_Currency\E\C\WooCommerceNameYourPrice::get_instance() wp-content/plugins/yaycurrency/includes/Helpers/Helper.php:36 Yay_Currency\Helpers\Helper::get_instance_classes() wp-content/plugins/yaycurrency/includes/Initialize.php:27 Yay_Currency\Initialize::__construct() wp-content/plugins/yaycurrency/includes/Utils/SingletonTrait.php:12 Yay_Currency\Initialize::get_instance() wp-content/plugins/yaycurrency/yay-currency.php:93 Yay_Currency\plugin_init() wp-includes/class-wp-hook.php:324 WP_Hook::apply_filters() wp-includes/class-wp-hook.php:348 WP_Hook::do_action() wp-includes/plugin.php:517 do_action() wp-settings.php:506 require_once() wp-config.php:132 require_once() wp-load.php:50 require_once() wp-blog-header.php:13 require() index.php:17
Please assist.
Cheers,
Vinny
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Fatal error with Woocommerce Subscriptions’ is closed to new replies.