-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Heading block "encountered an error" since 6.8.0 #18232
Comments
I had this in my theme setup (removes the colour palette) and noticed it now breaks the headings after 6.8.0 update. add_theme_support( 'editor-color-palette' ); However it's easily fixed by giving an empty array instead of nothing. add_theme_support( 'editor-color-palette', array() ); Hope this helps. |
Thanks this also resolved my issue, would be good to see an empty array applied as default to stop other themes crashing this way! |
Confirmed with a child theme. |
Describe the bug
Upon installing the 6.8.0 plugin update, all of my heading blocks returned the "This block has encountered an error and cannot be previewed." error in the editor.
To reproduce
Steps to reproduce the behavior:
Expected behavior
Normal heading block display
The text was updated successfully, but these errors were encountered: