• Resolved bboyfan

    (@bboyfan)


    The new email editor is causing several critical issues on our website:

    1. Customers encounter an error page after completing checkout.
    2. All email-related actions in the backend—such as marking an order as “Completed”—also result in an error page.
    3. Customers are not receiving any emails.

    I was previously using the “WooCommerce Email Template Customizer Premium” plugin, but the issues occur regardless of whether the plugin is activated or deactivated.

    theme : bricks
    WP :  6.8.2
    woo : 10.0.4

    some logs:

    2025/07/31 14:16:01 [error] 39499#39499: *458844 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined array key “theme” in …/public/wp-content/plugins/woocommerce/packages/email-editor/src/Engine/class-theme-controller.php on line 304; PHP message: PHP Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, null given in …/public/wp-content/plugins/woocommerce/packages/email-editor/src/Engine/class-theme-controller.php:304

    Stack trace:

    #0 …/public/wp-content/plugins/woocommerce/packages/email-editor/src/Engine/class-theme-controller.php(304): array_merge(NULL, Array)

    #1 …/public/wp-content/plugins/woocommerce/packages/email-editor/src/Engine/class-settings-controller.php(198): Automattic\WooCommerce\EmailEditor\Engine\Theme_Controller->translate_slug_to_color(‘white’)

    #2 …/public/wp-content/plugins/woocommerce/packages/email-editor/src/Integrations/Core/Renderer/Blocks/class-group.php(67): Automattic\WooCommerce\EmailEditor\Engine\Settings_Controller->translate_slug_to_color(‘white’)

    #3 …/public/wp-content/plugins/woocommerce/packages/email-editor/src/Integrations/Core/Renderer/Blocks/class-group.php(38): Automattic\W” while reading response header from upstream, client: … server: …, request: “POST /wp-admin/admin.php?page=wc-orders&action=edit&id=58373 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php8.2-fpm-wenszucom.sock:”, host: “wenszu.com:64458”, referrer: “…/wp-admin/admin.php?page=wc-orders&action=edit&id=58373”

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

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter bboyfan

    (@bboyfan)

    there is no problem in 9.9.5. I just downgrade.

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for explaining the issue in detail. However, I wasn’t able to replicate the issue on my end. I also tried placing a test order and didn’t encounter any issues on the checkout page.

    Just to confirm, are you currently using the latest version of WooCommerce?

    Also, could you please share a screenshot of the error message you’re seeing on the checkout page?


    In the meantime, I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:

    • System Status Report which you can find via WooCommerce > Status

    Please use https://pastebin.com/ or https://gist.github.com/ and share a link to that paste in reply here. Once we have more information, we’ll be able to assist you further.

    Thread Starter bboyfan

    (@bboyfan)

    @shahzeenfarooq

    yes. I think you are tested in 9.9.5. I just upgrade to 10.0.4 again, still have same issue.

    screen record : https://youtu.be/VBoUlxNquWc

    order screen image : https://drive.google.com/file/d/19tfUqa9FC2vpMUHudfx2hSrHVpF7Y2uh/view?usp=sharing

    As you can see, after checkout, customers are seeing an error page—however, the order is actually created successfully. As mentioned earlier, the issue seems to be related to the email system.

    System Status Report : https://pastebin.com/H03jgS1N

    site is still 10.0.4 you could testing by yourself. thanks.

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for sharing the screen recording.

    I tried placing a test order on your site using the Cash on Delivery payment method, but I wasn’t able to see any error message. I also tested this on my own site using WooCommerce version 10.0.4 and didn’t encounter the issue.

    Could you please try placing an order using Cash on Delivery on your end and check if you’re able to replicate the same issue?

    Additionally, the System Status Report link you shared has expired. Could you please share the report again?

    Let me know what you find!

    Thread Starter bboyfan

    (@bboyfan)

    @shahzeenfarooq

    Cash on Delivery payment error screen record.

    https://youtube.com/shorts/jh9aNUs3dF4

    When using the Cash on Delivery payment method, the website shows an error directly on the checkout page. Although the order is successfully created, the page does not redirect to the Thank You page, and the customer does not receive the order confirmation email.

    System Status Report : https://gist.github.com/bboyfan/4bda5f94e9b334d6bb050feb14995c74

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for sharing the video and system status report. Everything is appearing fine in the system status report.

    To assist you further, could you please try running a conflict test? Please deactivate all plugins except WooCommerce and activate a default theme like Storefront. Then, check if you still experience the same issue.

    If you don’t want to affect your live site, you can create a staging site using a plugin like WP Staging.

    For detailed steps on how to perform a conflict test, you can refer to this guide: How to Test for Plugin and Theme Conflicts.

    Let us know how it goes!

    Thread Starter bboyfan

    (@bboyfan)

    @shahzeenfarooq

    I’ve tried deactivating other plugins, but the issue still persists. The error only does not occur when I disable “Block Email Editor (alpha)”.

    Additionally, enabling Block Email Editor (alpha) does not cause any issues in version 9.9.5. The problem only appears in version 10 and above.

    Hi @bboyfan,

    I looked back at your initial message and saw you mentioned you’re using Bricks Builder. Just to clarify — some themes and plugins, including Bricks, can be incompatible with certain WooCommerce features, especially when there are recent updates. It’s not uncommon for conflicts to occur between Bricks and new theme-related changes in WooCommerce or WordPress.

    Since it worked in a previous version, we’ll need to confirm if this is indeed a conflict. Please set up a staging site — you can do this by cloning your live site with a plugin like WP Migrate Guru to a subdomain or directory, or by using your host’s staging feature.

    Once the staging site is ready, deactivate all plugins except WooCommerce, enable test mode in your payment plugin, and share the test card details with us so we can run test payments. Then switch your theme to Twenty Twenty-Five (this part is very important).

    After that, generate a fresh system status report from the staging site and share it with us. We’ll review the setup and run tests to replicate the issues you mentioned.

    Thread Starter bboyfan

    (@bboyfan)

    hi @mosesmedh

    I just finished testing on the staging site, and I can confirm that the issue only occurs when using the Bricks theme. There are no errors when switching to the Twenty Twenty-Five theme.

    By the way, the same error also occurs when using the Hello theme.

    Plugin Support LovingBro (woo-hc)

    (@lovingbro)

    Hi @bboyfan,

    Thanks so much for getting back to us with the results of your testing. We appreciate the time you’ve taken to investigate this!

    It’s helpful to hear that the issue only occurs when using the Bricks theme and the Hello theme, and not with Twenty Twenty-Five. To better understand the scope, could you confirm if you’ve tested with any other themes besides the default Twenty Twenty-Five or Storefront? Knowing whether the issue happens only with Bricks and Hello or across more themes will help us determine how widespread the conflict may be.

    If it’s isolated to those two themes, that does suggest a theme-level conflict with WooCommerce’s Block Email Editor. In that case, I’d recommend reaching out to the Bricks and Hello theme developers directly with your findings, especially since the issue doesn’t occur on older WooCommerce versions or default themes.

    Let us know what you find, and we’ll be here to support however we can!

    Thread Starter bboyfan

    (@bboyfan)

    @lovingbro I just try Astra and Blocksy there is no promble. I will contact bricks team this issue. thx.

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for the update!

    Since the issue isn’t appearing when using Astra or Blocksy, reaching out to the Bricks theme team sounds like the right next step.

    If you’re happy with the support you received today, would you consider leaving us a quick review? It really helps us out and means a lot to the team:
    🌟 Leave a review

    Thread Starter bboyfan

    (@bboyfan)

    @mosesmedh @lovingbro @shahzeenfarooq

    I just tried the Storefront theme, and the same error still occurs.
    I’m also communicating with the Bricks team, and they provided me with the following information, asking me to share it with you.

    https://drive.google.com/file/d/12VKjegZTgCGAwEJRyT86KGRtTY4FRm3f/view?usp=sharing

    https://drive.google.com/file/d/1a9rs6IrHcXG3D1nWeWnDhJdE03c2VX6b/view?usp=drive_link

    Plugin Support Frank Remmy (woo-hc)

    (@frankremmy)

    Hi @bboyfan,

    Thanks for the update and for sharing those screenshots!

    It appears this is indeed a known issue with the WooCommerce email block editor that others have encountered as well. The error occurs in the Theme Controller when it tries to merge arrays but receives null values for the “theme” key. Our development team is aware and are working on a fix.

    As a workaround, you can temporarily disable the new email editor features:

    • Go to WooCommerce → Settings → Advanced → Features
    • Look for email-related feature flags and disable them
    • This should revert to the older email system while the issue is resolved

    I hope that helps. Let us know if you need anything else.

    Plugin Support Chris Moreira – a11n

    (@chrism245)

    I’m going to mark this as resolved, as we didn’t receive any update on this. We’ll be here if and/or when you are ready to continue.

    If you have a few minutes, we’d love if you could leave us a review: https://wordpress.org/support/plugin/woocommerce/reviews/

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘New Email Editor Causing Multiple Errors on Website’ is closed to new replies.