"The editor has encountered an unexpected error." for CPT with hierarchical option enabled, with the page-attributes
without title
support
#19002
Labels
[Type] Bug
An existing feature does not function as intended
Describe the bug
The Gutenberg editor crushes with the error "The editor has encountered an unexpected error." when creating a new post for a custom post type that supports hierarchical relations and page attributes without the title support with the
supports
argument.Error
To reproduce
Steps to reproduce the behavior:
true
array( 'page-attributes', 'editor', 'thumbnail', 'comments', 'post-formats' )
Expected behavior
The editor should not crush, Instead, it should load the Page Attributes section properly.
Screenshots
Additional context
I suggest not using the drop-down list with tons of posts there but placing an auto-complete input field. This also helps for situations with thousands of posts.
The text was updated successfully, but these errors were encountered: