[Bug]: Overlaid Theme - Adding any patterns causes "unexpected error" on Simple sites #7683
Labels
Customer Report
Issues or PRs that were reported via Happiness. Previously known as "Happiness Request".
FSE
[Pri] Low
[Theme] Overlaid
Triaged
[Type] Bug
Something isn't working
Quick summary
Attempts to add any patterns results in "unexpected error" modal and console errors: https://prnt.sc/NHgCyLcEM1qt
Steps to reproduce
1 - Open any editor on a Simple site
2 - Select any pattern to insert
3 - "The editor has encountered an unexpected error." notification modal appears
What you expected to happen
Pattern to be successfully inserted and editor can continue to be used
What actually happened
Error notification appears and editor cannot be used.
Browser
Google Chrome/Chromium
Context
No response
Platform (Simple, Atomic, or both?)
Simple
Other notes
console error that prints after error occurs:
`TypeError: Cannot read properties of undefined (reading 'some')
at https://s0.wp.com/wp-content/plugins/gutenberg-core/v17.9.0/build/blockeditor/index.min.js?m=1710352031i&ver=52678fd4b2dc7ee02926:124:10709
at Array.filter ()
at https://s0.wp.com/wp-content/plugins/gutenberg-core/v17.9.0/build/blockeditor/index.min.js?m=1710352031i&ver=52678fd4b2dc7ee02926:124:10664
at Object.useMemo (https://s0.wp.com/wp-content/plugins/gutenbergcore/v17.9.0/build/vendors/react-dom.min.js?m=1710352031i&ver=18:1:115217)
at e.useMemo (https://s0.wp.com/wp-content/plugins/gutenbergcore/v17.9.0/build/vendors/react.min.js?m=1710352031i&ver=18:1:9875)
at LC (https://s0.wp.com/wp-content/plugins/gutenberg-core/v17.9.0/build/blockeditor/index.min.js?m=1710352031i&ver=52678fd4b2dc7ee02926:124:10623)
at St (https://s0.wp.com/wp-content/plugins/gutenberg-core/v17.9.0/build/vendors/reactdom.min.js?m=1710352031i&ver=18:1:47627)
at $s (https://s0.wp.com/wp-content/plugins/gutenberg-core/v17.9.0/build/vendors/reactdom.min.js?m=1710352031i&ver=18:1:120574)
at Sl (https://s0.wp.com/wp-content/plugins/gutenberg-core/v17.9.0/build/vendors/reactdom.min.js?m=1710352031i&ver=18:1:88649)
at kl (https://s0.wp.com/wp-content/plugins/gutenberg-core/v17.9.0/build/vendors/reactdom.min.js?m=1710352031i&ver=18:1:88577)``
Reproducibility
Consistent
Severity
Some (< 50%)
Available workarounds?
Yes, difficult to implement
Workaround details
Change theme, though that's unlikely to go well with some users
The text was updated successfully, but these errors were encountered: