Back to Reports

Gutenberg Editor Console Errors Related to WooCommerce Email Improvements Setting

closed Sep 26, 2025 PluginWoocommerce

Summary:

This bug report describes JavaScript console errors that occur within the Gutenberg post editor when the WooCommerce 'Email improvements' setting is toggled. The errors are present regardless of whether the feature is enabled or disabled, indicating a problem with the script that checks or manages this setting's state.

The issue likely stems from the WooCommerce plugin incorrectly loading or referencing its Gutenberg-related assets. The errors prevent the associated JavaScript from executing correctly, which could potentially lead to unexpected behavior in the editor, though the specific functional impact is not detailed. The environment uses a classic theme (Bricks) and a minimal set of plugins, suggesting the problem is inherent to WooCommerce's integration with the block editor.

How to Replicate:

  1. Ensure the 'Email improvements' option is enabled in the WooCommerce settings.
  2. Create or edit a post to open the Gutenberg editor.
  3. Open the browser's developer console to observe the first error.
  4. Disable the 'Email improvements' option in the WooCommerce settings.
  5. Refresh the Gutenberg editor page and check the console again to see a different error.