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 when editing the shortcode checkout page #3757

Open
wjrosa opened this issue Jan 22, 2025 · 0 comments · May be fixed by #3758
Open

Fatal error when editing the shortcode checkout page #3757

wjrosa opened this issue Jan 22, 2025 · 0 comments · May be fixed by #3758
Assignees
Labels
component: ECE Issues related to Express Checkout Element priority: medium The issue/PR is medium priority—it affects lots of customers substantially, but not critically. type: bug The issue is a confirmed bug.

Comments

@wjrosa
Copy link
Contributor

wjrosa commented Jan 22, 2025

See: https://wordpress.org/support/topic/fatal-error-trying-to-edit-the-checkout-page/

PHP Fatal error: Uncaught Error: Call to a member function needs_shipping() on null in */wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-express-checkout-helper.php:629

This issue happens when editing the shortcode checkout page with an empty cart on PHP 8.4.

@wjrosa wjrosa self-assigned this Jan 22, 2025
@wjrosa wjrosa added type: bug The issue is a confirmed bug. component: ECE Issues related to Express Checkout Element priority: medium The issue/PR is medium priority—it affects lots of customers substantially, but not critically. labels Jan 22, 2025
@wjrosa wjrosa linked a pull request Jan 22, 2025 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: ECE Issues related to Express Checkout Element priority: medium The issue/PR is medium priority—it affects lots of customers substantially, but not critically. type: bug The issue is a confirmed bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant