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
wc-stripe-blocks-integration deactivated #2429
Comments
Hello! I'm unable to reproduce this issue, in what page are you seeing this error and can you run some conflict check? |
I moved this issue to Stripe repo because I don't think it is related to WooCommerce Blocks, while it's true that the error you see relates to blocks:
|
Hello! I get this same error in PHP logs on every site I run with Elementor, WooCommerce, and the Stripe payment gateway plugin. It appears every day; it doesn't, however, affect anything for the user in the front end. We do not use WooCommerce Blocks, so I agree with @senadir 's move to the Stripe repo. Here is the most recent error: 2022/11/23 06:03:01 [error] 28496#28496: *96530 FastCGI sent in stderr: "PHP message: Payment gateway with handle 'wc-stripe-blocks-integration' has been deactivated in Cart and Checkout blocks because its dependency 'wc-blocks-registry' is not registered. Read the docs about registering assets for payment methods: https://github.com/woocommerce/woocommerce-blocks/blob/060f63c04f0f34f645200b5d4da9212125c49177/docs/third-party-developers/extensibility/checkout-payment-methods/payment-method-integration.md#registering-assetsPHP message: Payment gateway with handle 'wc-stripe-blocks-integration' has been deactivated in Cart and Checkout blocks because its dependency 'wc-settings' is not registered. Read the docs about registering assets for payment methods: https://github.com/woocommerce/woocommerce-blocks/blob/060f63c04f0f34f645200b5d4da9212125c49177/docs/third-party-developers/extensibility/checkout-payment-methods/payment-method-integration.md#registering-assets" while reading response header from upstream, client: MYIPADDRESS, server: MYSERVER, request: "GET /wp-admin/post.php?post=1843&action=elementor HTTP/1.1", upstream: |
5791854-zen |
5795725-zen |
This has been reported to work as a temporary fix. As reported in 5795725-zen |
5951990-zen |
The message originates from WooCommerce Blocks if one of the required libraries for Checkout/Cart blocks to support payment gateways is missing. Ex: Polyfill, WC-Settings, React etc. These scripts can be de-registered by any other plugins and Stripe only comes into the error if the Stripe plugin is active. If along with Stripe, COD or Cheque is enabled - the error path will show up that as well. |
Describe the bug
PHP Error message: Payment gateway with handle 'wc-stripe-blocks-integration' has been deactivated in Cart and Checkout blocks because its dependency 'react' is not registered. Read the docs about registering assets for payment methods: https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/trunk/docs/extensibility/payment-method-integration.md#registering-assets
To reproduce
Steps to reproduce the behavior:
n/a
Expected behavior
Unexpected error. We don't use Woocommerce Gutenberg Products Block plugin.
WordPress (please complete the following information):
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: