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

PHP error on checkout order-received #89

Open
1 task done
sissibieber opened this issue May 1, 2024 · 0 comments
Open
1 task done

PHP error on checkout order-received #89

sissibieber opened this issue May 1, 2024 · 0 comments

Comments

@sissibieber
Copy link

Prerequisites

Versions

WooCommerce version: 8.8.2
PHP version: 8.0.30

Issue

Problem description:

`[01-May-2024 03:58:44 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_payment_method() on bool in /usr/www/users/client/content/plugins/qenta-checkout-seamless/classes/class-qenta-gateway.php:1003

Stack trace:
#0 /usr/www/users/client/cms/wp-includes/class-wp-hook.php(324): WC_Gateway_Qenta_Checkout_Seamless->thankyou_order_received_text()

#1 /usr/www/users/client/cms/wp-includes/plugin.php(205): WP_Hook->apply_filters()

#2 /usr/www/users/client/content/plugins/woocommerce/templates/checkout/order-received.php(34): apply_filters()

#3 /usr/www/users/client/content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/usr/www/users/...')

#4 /usr/www/users/client/content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(315): wc_get_template()

#5 /usr/www/users/client/content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(65): WC_Shortcode_Checkout::order_received()

#6 /usr/www/users/client/content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Checkout::output()

#7 /usr/www/users/client/content/plugins/woocommerce/includes/class-wc-shortcodes.php(95): WC_Shortcodes::shortcode_wrapper()

#8 /usr/www/users/client/cms/wp-includes/shortcodes.php(433): WC_Shortcodes::checkout()

#9 [internal function]: do_shortcode_tag()

#10 /usr/www/users/client/cms/wp-includes/shortcodes.php(273): preg_replace_callback()

#11 /usr/www/users/client/cms/wp-includes/class-wp-hook.php(324): do_shortcode()

#12 /usr/www/users/client/cms/wp-includes/plugin.php(205): WP_Hook->apply_filters()

#13 /usr/www/users/client/cms/wp-includes/post-template.php(256): apply_filters()

#14 /usr/www/users/client/content/themes/client/templates/blocks.php(5): the_content()

#15 /usr/www/users/client/content/themes/client/framework/general/Renderer.class.php(405): include('/usr/www/users/...')

#16 /usr/www/users/client/content/themes/client/framework/general/Renderer.class.php(184): Renderer->renderPaths()

#17 /usr/www/users/client/content/themes/client/index.php(8): Renderer->renderTemplate()

#18 /usr/www/users/client/cms/wp-includes/template-loader.php(106): include('/usr/www/users/...')

#19 /usr/www/users/client/cms/wp-blog-header.php(19): require_once('/usr/www/users/...')

#20 /usr/www/users/client/index.php(17): require('/usr/www/users/...')

#21 {main}
thrown in /usr/www/users/client/content/plugins/qenta-checkout-seamless/classes/class-qenta-gateway.php on line 1003
`

Steps to reproduce:

after coming back from a payment and landing on the thank you page this error occurs

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