Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.39k stars 1.98k forks source link

Blog Posts block keep loading when added to a Content Block. #91839

Open nazilya06 opened 1 month ago

nazilya06 commented 1 month ago

Quick summary

Blog Posts block freezing and not fetching blog info in the page editor. The block is added to a Content block via Appearance → Editor → Pages.

Steps to reproduce

  1. Go to Appearance → Editor → Pages → open any page.
  2. Try to add the Block Posts Block to a Content block.
  3. The block will keep loading. Screenshot 2024-06-17 at 4 00 29 PM

The workaround is to go to the Blog Posts block via Dashboard → Pages → click the title of Page → add the block.

What you expected to happen

The Blog Posts block should display the data.

What actually happened

The block keeps loading and does not display any data.

Impact

All

Available workarounds?

Yes, easy to implement

Platform (Simple and/or Atomic)

No response

Logs or notes

8339922-zd-a8c

github-actions[bot] commented 1 month ago

Support References

This comment is automatically generated. Please do not edit it.

retnonindya commented 1 hour ago

📌 REPRODUCTION RESULTS

📌 ACTIONS

📌 Error message

wp.blocks.children.matcher is deprecated since version 6.1 and will be removed in version 6.3. Please use html source instead. See: https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/

select( 'core/edit-post' ).isInserterOpened is deprecated since version 6.5. Please use select( 'core/editor' ).isInserterOpened instead.

Using Toolbar without label prop is deprecated since version 5.6. Please use ToolbarGroup component instead. See: https://developer.wordpress.org/block-editor/components/toolbar/