Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#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:

Description

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
2 years ago

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

#2 @costdev
2 years ago

  • Keywords reporter-feedback added

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

Is this the issue you're seeing? https://github.com/WordPress/gutenberg/issues/48818

#3 @ph4ntomiki
2 years 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
2 years 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
2 years 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: https://github.com/WordPress/gutenberg/issues/48818

Let's continue the discussion there. 🙂

Note: See TracTickets for help on using tickets.