Skip to content

Block Editor breaks after updating to Gutenberg 19.8.0 - Blocks missing inside the editor #67875

Closed
@CreativeDive

Description

@CreativeDive

Description

Hey,

since Gutenberg version 19.8.0 something strange is happening. Before this update or without the active Gutenberg plugin installed, everything worked as expected.

Now the complete block editor is empty and has no block content. In my case, this affects the page post type only. Other post types seem to work correctly.

This is only related to the new version 19.8.0 of the Gutenberg plugin. There are no console errors or anything like that. Watch the video to see what happens.

So I debugged it and found the reason why this problem occurs.

In my theme I use:

if ( ! function_exists( 'panther_setup_theme' ) ) :
    function panther_setup_theme() {
        remove_theme_support( 'block-templates' );
    }
endif;

add_action( 'after_setup_theme', 'panther_setup_theme' );

After commenting this out, this problem is solved.

This is a bug that needs to be fixed urgently.

Step-by-step reproduction instructions

See the issue description.

Screenshots, screen recording, code snippet

edtor-is-empty-after-update.mp4

Environment info

  • WP 6.7.1
  • Gutenberg 19.8.0
  • Google Chrome Browser latest

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

Labels

[Feature] Template Editing ModeRelated to the template editor available in the Block Editor[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions