Store “core/interface” is already registered
-
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:
- Set WordPress to version 6.7.
- Activate the default WordPress theme (e.g., Twenty Twenty-Three).
- Disable all other plugins except for WooCommerce.
- In the WordPress admin panel, observe the browser’s developer console.
- The following error appears:
Store "core/interface" is already registered.
- 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:
- Investigate the possibility of a conflict between WooCommerce and the enabled features (Analytics, Order Attribution, Site Visibility Badge).
- Check for any issues related to the JavaScript register function within WooCommerce scripts (likely in
data.min.js
or related files). - Verify if there are any duplicate script initializations or race conditions occurring during page load in the admin panel.
- You must be logged in to reply to this topic.