Skip to content

Query Block won't render when placed in 404 Template #30781

@annezazu

Description

@annezazu

Description

When adding a Query Block to the 404 template, it doesn't show up on the front end of the site. I tried moving it around to different parts of the template but it simply won't render.

Step-by-step reproduction instructions

  1. Setup a site with FSE and TT1 blocks
  2. Open the Site Editor.
  3. Use the Navigation component to go to the 404 template.
  4. Add a query block into the 404 template.
  5. Save changes and view the 404 page.

Expected behaviour

I expect to see the Query block results appear.

Actual behaviour

The Query block doesn't not show up on the front end.

Screenshots or screen recording (optional)

missing.query.block.mov

Front end:

Screen Shot 2021-04-12 at 3 33 43 PM

Editor:

Screen Shot 2021-04-12 at 3 34 01 PM

WordPress information

  • WordPress version: 5.7
  • Gutenberg version: 10.4.0-rc.1
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? TT1 Blocks

Device information

  • Device: Desktop
  • Operating system: MacOS
  • Browser: Chrome v 89

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] Query LoopAffects the Query Loop Block[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