Description
If you have a 'frontpage' template active and WooCommerce active, visiting the frontpage of your site will trigger the block template loader to search (and fail to find) the custom WooCommerce templates, leading to this notice:
[29-Oct-2025 13:54:47 UTC] PHP Warning: Undefined array key "archive-product" in /wordpress/wp-includes/block-template.php on line 236
[29-Oct-2025 13:54:47 UTC] PHP Warning: Undefined array key "taxonomy-product_attribute" in /wordpress/wp-includes/block-template.php on line 236
[29-Oct-2025 13:54:47 UTC] PHP Warning: Undefined array key "product-search-results" in /wordpress/wp-includes/block-template.php on line 236
[29-Oct-2025 13:54:47 UTC] PHP Warning: Undefined array key "page-cart" in /wordpress/wp-includes/block-template.php on line 236
[29-Oct-2025 13:54:47 UTC] PHP Warning: Undefined array key "page-checkout" in /wordpress/wp-includes/block-template.php on line 236
[29-Oct-2025 13:54:47 UTC] PHP Warning: Undefined array key "order-confirmation" in /wordpress/wp-includes/block-template.php on line 236
[29-Oct-2025 13:54:47 UTC] PHP Warning: Undefined array key "single-product" in /wordpress/wp-includes/block-template.php on line 236
[29-Oct-2025 13:54:47 UTC] PHP Warning: Undefined array key "coming-soon" in /wordpress/wp-includes/block-template.php on line 236
[29-Oct-2025 13:54:47 UTC] PHP Warning: Undefined array key "archive-product" in /wordpress/wp-content/plugins/gutenberg/lib/compat/wordpress-6.9/template-activate.php on line 311
[29-Oct-2025 13:54:47 UTC] PHP Warning: Undefined array key "taxonomy-product_attribute" in /wordpress/wp-content/plugins/gutenberg/lib/compat/wordpress-6.9/template-activate.php on line 311
[29-Oct-2025 13:54:47 UTC] PHP Warning: Undefined array key "product-search-results" in /wordpress/wp-content/plugins/gutenberg/lib/compat/wordpress-6.9/template-activate.php on line 311
[29-Oct-2025 13:54:47 UTC] PHP Warning: Undefined array key "page-cart" in /wordpress/wp-content/plugins/gutenberg/lib/compat/wordpress-6.9/template-activate.php on line 311
[29-Oct-2025 13:54:47 UTC] PHP Warning: Undefined array key "page-checkout" in /wordpress/wp-content/plugins/gutenberg/lib/compat/wordpress-6.9/template-activate.php on line 311
[29-Oct-2025 13:54:47 UTC] PHP Warning: Undefined array key "order-confirmation" in /wordpress/wp-content/plugins/gutenberg/lib/compat/wordpress-6.9/template-activate.php on line 311
[29-Oct-2025 13:54:47 UTC] PHP Warning: Undefined array key "single-product" in /wordpress/wp-content/plugins/gutenberg/lib/compat/wordpress-6.9/template-activate.php on line 311
[29-Oct-2025 13:54:47 UTC] PHP Warning: Undefined array key "coming-soon" in /wordpress/wp-content/plugins/gutenberg/lib/compat/wordpress-6.9/template-activate.php on line 311
Step-by-step reproduction instructions
- Install 6.9beta (or GB 21.9.0)
- Install WooCommerce
- Open the site editor and add a FrontPage template
- Visit the frontpage on your website
Screenshots, screen recording, code snippet
No response
Environment info
- 6.9beta2
- Guteberg 21.9.0 (optional)
- Woo 10.3.3
- Tested with multiple themes, including TT5
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
Description
If you have a 'frontpage' template active and WooCommerce active, visiting the frontpage of your site will trigger the block template loader to search (and fail to find) the custom WooCommerce templates, leading to this notice:
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.