• Resolved logikconcept

    (@logikconcept)


    Hi guys,

    I’m trying to integrate using Gutenberg the Cart and Checkout blocks and on their respective pages and I’m getting the following warning in Dev Tools.

    selectcontrol in@wordpress/data-controlsis deprecated. Please use built-inresolveSelectcontrol in@wordpress/data` instead.
    c @ deprecated.min.js?ver=be1d4376501c21d85ba98dd28ca2d7ea:2

    And when I refresh the pages, about 43 additional warnings are showing up under deprecated.min.js

    I did some tests by deactivating:

    Elementor
    Elementor Pro
    Astra Addon(Pro)
    Astra Theme
    +any other installed plugins

    And use Storefront Theme but warnings still persist.

    As soon as I deactivate Woocommerce Block, not a single warning.

    Any help will be appreciated.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there!

    First, it’s great that you are watching for these things. Thanks for surfacing it to us and letting us know!

    Due to the fact WooCommerce Blocks supports the previous two minor versions of WordPress, inevitably there will be times when a WordPress package feature is deprecated in a more recent version of WordPress and not in a prior version. To keep support for earlier versions we have to ship with the deprecated implementation which results in these warnings.

    Fortunately, even though WordPress is showing these warnings, there won’t be any breakage because the package still supports the older implementation. Whenever we are able to update the minimum required version WordPress that we support to a version that we can drop the deprecated usage of the function/feature, we will, and those warnings will go away.

    Thread Starter logikconcept

    (@logikconcept)

    Thanks for the clarifications Darren! Keep up the good work for this amazing project!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘deprecated.min.js + Multiple Warnings’ is closed to new replies.