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

Fatal error: Uncaught Error: Call to a member function get_order_key() on bool #208

Open
shankarGdev opened this issue Nov 9, 2021 · 1 comment

Comments

@shankarGdev
Copy link

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

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
@shankarGdev shankarGdev changed the title Fatal error: Uncaught Error: Call to a member function get_order_key() Fatal error: Uncaught Error: Call to a member function get_order_key() on bool Nov 9, 2021
@shankarGdev
Copy link
Author

Error occurs when using https://wordpress.org/plugins/wt-woocommerce-sequential-order-numbers/ plugin. But with previous version it's working fine.

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

1 participant