• Resolved pkanel

    (@pkanel)


    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
    <anonymous> 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 Payment Plugins

    (@mrclayton)

    Hi @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,

    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.

    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 Payment Plugins

    (@mrclayton)

    @linux4me2 @askwpgirl @pkanel

    We have created an issue in the WooCommerce Blocks github repo.

    https://github.com/woocommerce/woocommerce-blocks/issues/7907

    That issue details the cause of the error. Hopefully the Blocks team addresses it soon.

    Thanks for creating the issue @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 Payment Plugins

    (@mrclayton)

    @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,

    @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.