Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin throws an error on the checkout page on WooCommerce v4.7.1 #30

Open
abishekrsrikaanth opened this issue Dec 2, 2020 · 1 comment

Comments

@abishekrsrikaanth
Copy link

abishekrsrikaanth commented Dec 2, 2020

I get the following error when I activate this plugin on my WooCommerce website. Can you please look into it

Fatal error: Uncaught Error: Class 'WC_Subscriptions_Cart' not found in /home/forge/www.mywebsite.in/public/wp-content/plugins/razorpay-subscriptions-for-woocommerce/razorpay-subscriptions.php:133 
Stack trace: 
#0 /home/forge/www.mywebsite.in/public/wp-includes/class-wp-hook.php(287): WC_Razorpay_Subscription->disable_non_subscription() 
#1 /home/forge/www.mywebsite.in/public/wp-includes/plugin.php(206): WP_Hook->apply_filters() 
#2 /home/forge/www.mywebsite.in/public/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(160): apply_filters() 
#3 /home/forge/www.mywebsite.in/public/wp-content/plugins/woocommerce/includes/wc-template-functions.php(3739): WC_Payment_Gateways->get_available_payment_gateways() 
#4 /home/forge/www.mywebsite.in/public/wp-includes/class-wp-hook.php(287): wc_get_pay_buttons() 
#5 /home/forge/www.mywebsite.in/public/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters() 
#6 /home/forge/www.mywebsite.in/public/wp-includes/plugin.php(478): WP_Hook->do_action() 
#7 /home/forge/www.mywebsite.in/p in /home/forge/www.mywebsite.in/public/wp-content/plugins/razorpay-subscriptions-for-woocommerce/razorpay-subscriptions.php on line 133

Can you please advice what may be wrong

@kudaleganesh
Copy link

I have created the PR for the same issue. I hope developers will take a look at this issue and will merge the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants