Make WordPress Core

#57872 closed defect (bug) (reported-upstream)

Bug when creating Template part in site editor

Reported by: ph4ntomiki's profile ph4ntomiki Owned by:
Milestone: Priority: normal
Severity: major Version: 6.1.1
Component: Editor Keywords: reporter-feedback
Focuses: administration Cc:


Hi, I'm using PHP 8 and WordPress 6.1.1 and when I create Template part from stack, it looks like it successfully created that part, but when I go to check it out in template parts editor, it's completely empty(that part that I just created).

I even tried updating to WP 6.2 beta4 and it's completely the same.

Change History (6)

#1 @jakariaistauk
16 months ago

Hi @ph4ntomiki,
Can you share some screenshots or screen records which help us to reproduce the issue easily?

#2 @costdev
16 months ago

  • Keywords reporter-feedback added

Hi @ph4ntomiki, welcome to Trac and thanks for opening this ticket!

Is this the issue you're seeing?

#3 @ph4ntomiki
16 months ago

@costdev no, it's similar but not the same, for me the template part is completely blank/empty after I go and try to edit it

#5 @ph4ntomiki
16 months ago

I also just discovered that when I do Export JSON on that stack element from picture 2, the JSON file blocks-export.json ends up empty (it only has the metadata, no blocks)

blocks-export.json full content:

  "__file": "wp_export",
  "version": 2,
  "content": ""

I guess that's connected/related.
@costdev @jakariaistauk

#6 @costdev
16 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

This issue has now been reported on the Gutenberg repository here:

Let's continue the discussion there. 🙂

Note: See TracTickets for help on using tickets.