Open shankarGdev opened 3 years ago
WooCommerce: Version 5.8.0 WordPress: Version 5.8.1
Getting following error after updating to latest version. The plugin got auto updated.
Fatal error: Uncaught Error: Call to a member function get_order_key() on bool in /wp-content/plugins/woo-razorpay/woo-razorpay.php on line 523
get_order_key()
/wp-content/plugins/woo-razorpay/woo-razorpay.php
Call stack:
WC_Razorpay::getRedirectUrl() wp-content/plugins/woo-razorpay/woo-razorpay.php:591 WC_Razorpay::getDefaultCheckoutArguments() wp-content/plugins/woo-razorpay/woo-razorpay.php:631 WC_Razorpay::getCheckoutArguments() wp-content/plugins/woo-razorpay/woo-razorpay.php:571 WC_Razorpay::generate_razorpay_form() wp-content/plugins/woo-razorpay/woo-razorpay.php:438 WC_Razorpay::receipt_page() wp-includes/class-wp-hook.php:303 WP_Hook::apply_filters() wp-includes/class-wp-hook.php:327 WP_Hook::do_action() wp-includes/plugin.php:470 do_action() /wordpress/plugins/woocommerce/5.8.0/templates/checkout/order-receipt.php:44 include() /wordpress/plugins/woocommerce/5.8.0/includes/wc-core-functions.php:345 wc_get_template() /wordpress/plugins/woocommerce/5.8.0/includes/shortcodes/class-wc-shortcode-checkout.php:208 WC_Shortcode_Checkout::order_pay() /wordpress/plugins/woocommerce/5.8.0/includes/shortcodes/class-wc-shortcode-checkout.php:59 WC_Shortcode_Checkout::output() /wordpress/plugins/woocommerce/5.8.0/includes/class-wc-shortcodes.php:72 WC_Shortcodes::shortcode_wrapper() /wordpress/plugins/woocommerce/5.8.0/includes/class-wc-shortcodes.php:95 WC_Shortcodes::checkout() wp-includes/shortcodes.php:356 do_shortcode_tag() preg_replace_callback() wp-includes/shortcodes.php:228 do_shortcode() wp-includes/class-wp-hook.php:303 WP_Hook::apply_filters() wp-includes/plugin.php:189 apply_filters() wp-includes/post-template.php:253 the_content() wp-content/themes/kapee/template-parts/page/content.php:19 require() wp-includes/template.php:772 load_template() wp-includes/template.php:716 locate_template() wp-includes/general-template.php:204 get_template_part() wp-content/themes/kapee/inc/kp-template-functions.php:1390 kapee_template_page_content() wp-includes/class-wp-hook.php:303 WP_Hook::apply_filters() wp-includes/class-wp-hook.php:327 WP_Hook::do_action() wp-includes/plugin.php:470 do_action() wp-content/themes/kapee/template-parts/page/layout-page.php:23 require() wp-includes/template.php:772 load_template() wp-includes/template.php:716 locate_template() wp-includes/general-template.php:204 get_template_part() wp-content/themes/kapee/page.php:33 include() wp-includes/template-loader.php:106 require_once() wp-blog-header.php:19 require() index.php:17
Error occurs when using https://wordpress.org/plugins/wt-woocommerce-sequential-order-numbers/ plugin. But with previous version it's working fine.
WooCommerce: Version 5.8.0 WordPress: Version 5.8.1
Getting following error after updating to latest version. The plugin got auto updated.
Fatal error: Uncaught Error: Call to a member function
get_order_key()
on bool in/wp-content/plugins/woo-razorpay/woo-razorpay.php
on line 523Call stack: