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
- Using save_post to replace the post’s title
- How do I safely change the name of a custom post type?
- why doesn’t the_content() work in this {single-custom_post_type.php} page?
- functions.php conditional tag only for custom post type
- Get monthly archives for custom post type
- Custom metabox translation
- Get all taxonomies for all post types
- How to make custom post meta wp_editor translatable?
- Linking three taxonomies with ACF
- How to List Thumbnails based on Custom Categories
- Meta_query with relation ‘OR’ killing server CPU
- custom posts on different page
- How to add pagination to wp_query [duplicate]
- Custom Post Types and independent Categories – complex Taxonomy
- WordPress Ignoring My Custom Post Type Templates?
- Give a permalink to Custom Post Types without title
- set permalink for CPT
- Does WP have a global of $id?
- Check if post has specific tag_ID in custom post type
- custom post type vs. conditionally displaying meta boxes for specific terms?
- Add first letter of titles to array, then compare arrays
- Get post ID of either existing post or new post
- Create a simple Testimonial page
- next page with custom post
- What should I learn to develop event management in wordpress? [closed]
- What is the best way to manage small blocks of content on my home page?
- Auto update publish date of CPT Post if default post custom field value match to cpt post CF Value
- Standard Page Child of CPT Not Found (404)
- Custom Post Type parent/child relationship rewrite rules for permalinks
- Query posts based on user preferences
- call a function when insert and update a custom post type
- How to have working breadcrumbs with several taxonomies associated with a custom post type
- Custom options for a Custom post type
- Custom loop won’t work, can’t find problem
- is therer any wordpress function to retrieve a specific html element from post content
- How to rewrite custom slugs that follow my rules