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 installing the extension due Amazon Pay settings in settings route registration #3899

Open
wjrosa opened this issue Feb 14, 2025 · 0 comments · May be fixed by #3898
Open
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 Feb 14, 2025

See: https://wordpress.org/support/topic/woocommerce-stripe-gateway-error-9-2-0-when-updating-plugin/#post-18306407

We have an issue when installing the extension, happening when registering the settings route. The Amazon Pay settings default parameters can be undefined, causing a fatal error:

An error of type E_ERROR was caused in line 102 of the file /nas/content/live/bankpolicies/wp-content/plugins/woocommerce-gateway-stripe/includes/admin/class-wc-rest-stripe-settings-controller.php. Error message: Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, null given in /nas/content/live/bankpolicies/wp-content/plugins/woocommerce-gateway-stripe/includes/admin/class-wc-rest-stripe-settings-controller.php:102
@wjrosa wjrosa linked a pull request Feb 14, 2025 that will close this issue
6 tasks
@wjrosa wjrosa self-assigned this Feb 14, 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 Feb 14, 2025
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