WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.52k stars 4.21k forks source link

Error with latest posts block in grid view #31847

Closed hazuremon closed 3 years ago

hazuremon commented 3 years ago

Description

Encountered "This block has encountered an error and cannot be previewed” with latest posts block when switching to grid view

Step-by-step reproduction instructions

  1. Add Latest Posts block
  2. Click on Grid View

Expected behaviour

Should see grid layout with latest posts

Actual behaviour

Displaying "This block has encountered an error and cannot be previewed”

Screenshots or screen recording (optional)

https://user-images.githubusercontent.com/1413953/118337064-c914b080-b4c7-11eb-9b70-251200e1170d.mov

Code snippet (optional)

WordPress information

Device information

hazuremon commented 3 years ago

Tested with latest Gutenberg 10.6.1 and the error remains.

skorasaurus commented 3 years ago

able to reproduce on 10.6.1

skorasaurus commented 3 years ago

more details and the cause were listed at https://github.com/WordPress/gutenberg/issues/32045 ; thanks @oxyc