Title: Error in Elementor
Last modified: November 28, 2022

---

# Error in Elementor

 *  Resolved [pkanel](https://wordpress.org/support/users/pkanel/)
 * (@pkanel)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/error-in-elementor-3/)
 * after last plugin updates we always see the following error when editing ANY 
   page in elementor.
 * If I disable this plugin, error stops.
 * “ReferenceError: wc_stripe_params_v3 is not defined”
 * Console logs:
    ReferenceError: wc_stripe_params_v3 is not defined <anonymous>
   [https://www.themodel.gr/wp-content/plugins/woo-stripe-payment/assets/js/frontend/wc-stripe.min.js?ver=3.3.33:1](https://www.themodel.gr/wp-content/plugins/woo-stripe-payment/assets/js/frontend/wc-stripe.min.js?ver=3.3.33:1)
   <anonymous> [https://www.themodel.gr/wp-content/plugins/woo-stripe-payment/assets/js/frontend/wc-stripe.min.js?ver=3.3.33:1](https://www.themodel.gr/wp-content/plugins/woo-stripe-payment/assets/js/frontend/wc-stripe.min.js?ver=3.3.33:1)
 * Server logs:
    `AH01071: Got error 'PHP message: Payment gateway with handle '
   wc-stripe-block-credit-card' 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-block-
   credit-card' has been deactivated in Cart and Checkout blocks because its dependency'
   wc-price-format' 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-block-credit-card' 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-assetsPHP 
   message: Payment gateway with handle 'wc-stripe-block-credit-card' has been deactivated
   in Cart and Checkout blocks because its dependency 'wc-stripe-blocks-commons'
   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-googlepay' 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-googlepay' has been deactivated
   in Cart and Checkout blocks because its dependency 'wc-price-format' 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-googlepay' 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-assetsPHP 
   message: Payment gateway with handle 'wc-stripe-blocks-googlepay' has been deactivated
   in Cart and Checkout blocks because its dependency 'wc-stripe-blocks-commons'
   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-apple-pay' 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-apple-pay' has been deactivated
   in Cart and Checkout blocks because its dependency 'wc-price-format' 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-apple-pay' 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-assetsPHP 
   message: Payment gateway with handle 'wc-stripe-blocks-apple-pay' has been deactivated
   in Cart and Checkout blocks because its dependency 'wc-stripe-blocks-commons'
   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-
   ppcp-blocks-paypal' 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-ppcp-blocks-paypal' has been deactivated
   in Cart and Checkout blocks because its dependency 'wc-ppcp-utils' 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-
   ppcp-blocks-paypal' 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', referer:
   https://www.themodel.gr/wp-admin/edit.php?post_type=page`

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/error-in-elementor-3/#post-16242726)
 * Hi [@pkanel](https://wordpress.org/support/users/pkanel/)
 * Nothing related to the Stripe JS params was changed in the latest release. If
   you downgrade to a previous version you will probably find that the same notice
   appears when editing the Elementor page.
 * Can you confirm?
 * Usually, that notice happens when there is a caching plugin involved.
 * I see you have also opened a ticket with the Elementor team. We’ll monitor that
   thread as well to see what they come back with.
 * Thanks,
    -  This reply was modified 3 years, 4 months ago by [Clayton R](https://wordpress.org/support/users/mrclayton/).
 *  [Angela Bowman](https://wordpress.org/support/users/askwpgirl/)
 * (@askwpgirl)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/error-in-elementor-3/#post-16246485)
 * We have been having the same issue since October and updating WooCommerce
 * This is NOT related to the stripe plugin or any other plugin other than Elementor
   free version.
 * This is PHP message appears when editing any Elementor page when WooCommerce 
   is installed no matter what the payment method. This is not happening on all 
   Elementor sites, so that’s what is making it hard to report and pin down.
 * This PHP message is also output when editing Appearance > Widgets with Elementor
   installed if any legacy widgets were in this area. After removing legacy widgets,
   the PHP message no longer was output.
 * I am attempting to contact Elementor team to fix this.
 * I have a dev site with only Elementor and WooCommerce installed. So far, I have
   not been able to narrow down what the cause is. If have disabled all but check
   payments, for example, and the PHP message persists.
 * I’ll report back when I hear from Elementor. But I would definitely file a bug
   report with them.
 *  [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * (@linux4me2)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/error-in-elementor-3/#post-16287072)
 * I am getting the same errors with Twenty Sixteen, a default theme, and don’t 
   have Elementor installed. It appears to be happening whenever I have legacy WooCommerce
   widgets installed in the Widget Block Editor and access Appearance > Widgets.
 * If I remove all the legacy WooCommerce widgets; e.g., Cart, including removing
   them from Inactive Widgets, and access Appearance > Widgets, I don’t get any 
   errors.
 * I can use the Woo Commerce Mini Cart widget without generating the errors.
 * It looks to me like it’s a WooCommerce legacy widget issue.
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/error-in-elementor-3/#post-16287094)
 * [@linux4me2](https://wordpress.org/support/users/linux4me2/) [@askwpgirl](https://wordpress.org/support/users/askwpgirl/)
   [@pkanel](https://wordpress.org/support/users/pkanel/)
 * We have created an issue in the WooCommerce Blocks github repo.
 * [https://github.com/woocommerce/woocommerce-blocks/issues/7907](https://github.com/woocommerce/woocommerce-blocks/issues/7907)
 * That issue details the cause of the error. Hopefully the Blocks team addresses
   it soon.
 *  [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * (@linux4me2)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/error-in-elementor-3/#post-16287196)
 * Thanks for creating the issue [@mrclayton](https://wordpress.org/support/users/mrclayton/).
 * I’ve done some more testing, and I get the same messages in the error log for
   a test site without Elementor or Payment Plugins installed using WooCommerce’s
   own Stripe plugin.
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/error-in-elementor-3/#post-16287203)
 * [@linux4me2](https://wordpress.org/support/users/linux4me2/) The issue isn’t 
   restricted to just Elementor. In the issue, it’s noted that the issue will occur
   anytime the `init` action is bypassed.
 * Thanks,
 *  [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * (@linux4me2)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/error-in-elementor-3/#post-16287215)
 * [@mrclayton](https://wordpress.org/support/users/mrclayton/) The issue just looked
   a little Elementor-ey to me, but I see you’re right.
 * Thanks again for creating the issue with WooCommerce. That’s above and beyond
   the call since it’s not even a problem with your plugin.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Error in Elementor’ is closed to new replies.

 * ![](https://ps.w.org/woo-stripe-payment/assets/icon-256x256.png?rev=2611337)
 * [Payment Plugins for Stripe WooCommerce](https://wordpress.org/plugins/woo-stripe-payment/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-stripe-payment/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-stripe-payment/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-stripe-payment/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-stripe-payment/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-stripe-payment/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/error-in-elementor-3/#post-16287215)
 * Status: resolved