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
- 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
- Using standard search function with custom post type
- register_taxonomy with multiple object type and update_count_callback
- Adding a date archive to Custom Post Type
- Automatic category for a Custom Post Type
- Automatically check “Allow comments” for custom post type [duplicate]
- Get the post children count of a post
- Link images to post permalink – custom post types
- Separate Posts and Custom Post Type in Custom Taxonomy archive template
- Use get_post_types to query only custom posts types
- Set menu active state for custom posttype and category, given custom taxonomy term
- Custom Post Type Tag Capabilities Not Working
- Custom post type structure for posts with multiple child posts
- Hide parent categories when clicked, and show it’s childs
- current post index within content.php
- Admin Column does not populate with data
- “Submit for review” for updates on existing posts
- Auto Complete Search
- Check post on publish for blank title
- Rewrite custom post type with taxonomy
- Should i use a plugin for Event Manager or code my own needs? [closed]
- Displaying a custom post type using get_template_part into a specific layout
- Add custom post type taxonomy tag to article class
- Custom Taxonomy dont save in a frontend form for post a custom post
- Setting Parent Page to Post
- Custom Post type dont use custom page template (slug is not right)
- Custom Post Type and Structure Question
- Change CPT permalink to use the category
- disabel for custom post Auto Upload Images
- Questions on WordPress Codex Concept
- Wrong block appender button showing
- Meta_query question