So,
I was researching this topic a bit deeper. All answers found on this SE suggested disabling Gutenberg with a plugin. This couldn’t be a valid “fix” in my oppinion.
After researching and browsing through the git issues of WordPress/gutenberg
I’ve found a pretty easy solution for this problem.
The user joshuafredrickson
on the git suggested changing the args of the custom post type array from 'public' => false,
to true.
I have checked that fix on multiple of my clients projects and it has worked every single time.
Credits:
Related Posts:
- Enable Gutenberg on custom post type
- Creating conditional blocks for WordPress Gutenberg
- Add class to Gutenberg Editor for Custom Post Types
- How to filter by custom post type on Gutenberg “Latest Posts’ block
- Gutenberg: Sidebar for specific post type
- How to throw error to user when saving post
- wordpress plugin error handling
- Gutenberg how to make attribute to save to meta
- How to add button to post page WordPress 5.x
- How can I fix those issues generated by the Themecheck plugin
- Undefined property: stdClass::$labels in general-template.php post_type_archive_title()
- WordPress Gutenberg-Block with ESNext (withState, withSelect)
- Display different gutenberg template from selected post attributes
- Full-Ajax Theme: parseJSON error while building a JSON object from a WordPress custom template
- wp is not defined error using wp.media to create a custom image uploader
- WordPress Rest API only returns content when posttype has editor capability
- Lock post meta block at the bottom of a custom post type
- How can I list all custom post types in a block
- Gutenberg Featured-Image-panel missing when user with custom role edits Custom Post Type
- Adding a Gutenberg-like custom field on a custom post type
- Check Title Unique Or Not and If not error message and dont save
- Classic editor showing in Gutenberg when creating a custom post type
- Creating template with h3 block (block editor)
- How To Enable Block Editor (Gutenberg) for Existing Post Type via functions.php
- How to make a custom taxonomy selectable in post publish area?
- show_in_rest false disable Gutenberg
- I can’t choose the custom taxonomy in my custom post type on Gutenberg
- Parent field missing from custom post type in the block editor
- How to get the parent of a non-hierarchical custom post type being edited in Gutenberg
- post_type_link not working in gutenberg
- Notice: Undefined index: error and understanding wordpress
- Illegal offset type in get_post_type_object()?
- What is the recommended / best way to do this: Event calendar post/type in a block-based theme?
- Getting meta in editor plugin, and event triggering issue
- Save the post parent in a custom post type in Gutenberg
- Trouble with CPT Child 404
- WordPress CPT save metadata in gutenberg
- Can I override a CPT template on a per post basis with Gutenberg block editor?
- Query Post Object in WP Admin
- How to display “Category and Post_tag” component in a CPT Gutenberg edit screen?
- Combine multiple getEntityRecords calls
- Custom post type editor uses old tinyMCE
- Custom Meta Box Causing Error: “Are you sure you want to do this? Please try again.”
- Use core block functionality in a custom block gutenberg
- gutenberg message
- Query not work for current taxonomy
- How do I assign a block template (.html) to a custom post type?
- Custom Post Type and Breadcrumbs Conflict
- Custom Post Type Causes Error: Warning: call_user_func_array()
- Custom post type set default template using block editor
- CPT: Enable Gutenberg, but disable editor field
- Select custom post type do display from page editor
- How add Filter by Tags and by categories to custom post type in Gutenberg block
- Is it possible to add the Gutenberg block editor to a custom taxonomy?
- How to debug failing updates for custom post type?
- I have a random letter appearing before my content. Where to start looking for the cause?
- Some posts not displaying by taxonomy term
- “A post type mismatch has been detected” Error when updating custom post
- Error [Column ‘post_title’ cannot be null] when title is disabled for Custom post type
- Notices when submitting custom post type from front-end
- Can you programme the selected page template to display block patterns automatically?
- Possible to limit internal link search to post types with Gutenberg editor?
- Custom Gutenberg block problem – This block has encountered an error and cannot be previewed
- Custom Post Type slug has the same Redirection entry
- getEntityRecords/useEntityRecords: How to use CPT metadata?
- Custom Block: Adding “Post Type” dropdown to Sidebar Settings
- get_posts() return NULL using a custom plugin and add_submenu_page() with Post Type
- Why does have_posts() return false when in the wordpress admin, but not on the frontend?
- fehler beim laden des blocks: ungültige(r) parameter: attributes – Gutenberg
- Post term block variations not generated for custom taxonomies
- Can’t publish custom type posts that don’t support title and editor, instead they’re saved as draft
- Adding a new custom post type using the editor causes 502 bad gateway error
- Is there a way to get Gutenberg interface on a Custom Post Type without supporting block editor?
- Custom post type template but
- Cannot Create new Post within Custom Post Type
- non-hierarchical post type with hierarchical url structure
- Filter widget outputs
- Change sort order when using ‘orderby’ => ‘type’
- Create custom post with custom user rules
- Cross reference custom post types
- Why does my content disapear when I make a page to match an archive name?
- Adding custom taxonomy in same menu place with two custom post types
- How to make custom taxonomy into drop down select in a custom metabox
- Removing all post statuses from a Custom Post Type
- Multiple pages for posts?
- Including taxonomy term before post type breaks top level pages
- Send notification to the admin when new custom post is submitted
- custom post type and non-standard gallery
- Adding Page Templates to post but it ignored it
- ‘exclude’ argument is not working with get_posts for a custom post type
- Allow user to only access custom post type
- Display Woocommerce Orders for specific author [closed]
- What’s the equivalent of Hide From Menus on MODX on WordPress?
- Parent Page and Breadcrumb URL’s for Custom Post Types Not Working
- How to use Custom Page Templates for hierarchical Custom Post Type
- Order a custom post type admin screen by a second custom post type title
- Display a custom posts page for post type
- Filtering posts list table
- Correct procedure for advanced permalinks
- TinyMCE style formats for different post types