• Issue Summary:
    When all plugins are disabled and the default theme is active in the WordPress admin panel, the console shows the error: Store "core/interface" is already registered. The issue seems to be related to WooCommerce, and it occurs when WooCommerce is enabled. Disabling WooCommerce resolves the issue, and the error disappears from the console.

    Steps to Reproduce:

    1. Set WordPress to version 6.7.
    2. Activate the default WordPress theme (e.g., Twenty Twenty-Three).
    3. Disable all other plugins except for WooCommerce.
    4. In the WordPress admin panel, observe the browser’s developer console.
    5. The following error appears:
    • Store "core/interface" is already registered.
    1. Disabling the WooCommerce plugin removes the error from the console.

    Error in Console:

    data.min.js?ver=7c62e39…:2 Store "core/interface" is already registered.
    c @ data.min.js?ver=7c62e39…:2
    register @ data.min.js?ver=7c62e39…:2
    (anonymous) @ data.min.js?ver=7c62e39…:2
    76664 @ index.js?ver=361226f…:2
    __webpack_require__ @ index.js?ver=361226f…:2
    (anonymous) @ index.js?ver=361226f…:2
    (anonymous) @ index.js?ver=361226f…:2
    (anonymous) @ index.js?ver=361226f…:2

    Expected Result:
    There should be no error in the console related to the registration of “core/interface.”

    Actual Result:
    The console displays the error: Store "core/interface" is already registered.

    WooCommerce Version:
    The latest version of WooCommerce.

    WordPress Version:
    6.7.

    Plugin Configuration:

    • WooCommerce Analytics is enabled.
    • Order Attribution is enabled to track and credit channels and campaigns.
    • Site Visibility Badge is enabled to show the visibility badge in the admin bar.
    • High-performance order storage is enabled (recommended setting).
    • Enable compatibility mode is active (syncs orders to the posts table).

    Additional Information:

    • This issue has been persistent for a long time and is becoming quite frustrating as it clutters the console with unnecessary errors.
    • The error indicates a conflict where the script seems to be attempting to register something that has already been registered. It is likely a conflict within WooCommerce or its integration with certain features such as WooCommerce Analytics or Order Attribution.

    Steps Taken:

    • Disabled all other plugins and switched to the default WordPress theme, but the issue persists when WooCommerce is active.
    • The error disappears when WooCommerce is deactivated.

    Suggested Next Steps:

    1. Investigate the possibility of a conflict between WooCommerce and the enabled features (Analytics, Order Attribution, Site Visibility Badge).
    2. Check for any issues related to the JavaScript register function within WooCommerce scripts (likely in data.min.js or related files).
    3. Verify if there are any duplicate script initializations or race conditions occurring during page load in the admin panel.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.