Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query Loop block: block error with GB 19.3 RC1 when using block format support #65550

Closed
annezazu opened this issue Sep 23, 2024 · 6 comments · Fixed by #65551
Closed

Query Loop block: block error with GB 19.3 RC1 when using block format support #65550

annezazu opened this issue Sep 23, 2024 · 6 comments · Fixed by #65551
Assignees
Labels
[Block] Query Loop Affects the Query Loop Block [Type] Bug An existing feature does not function as intended

Comments

@annezazu
Copy link
Contributor

Using GB 19.3RC1 which includes #64167, I found that after adding support to the TT4 theme, I wasn't able to get the query loop to properly filter with a format option when adding a query loop block to a page or a template. In this case, I had set a few posts to include an Image format in case that matters:

query.loop.post.format.error.mov
@annezazu annezazu added [Type] Bug An existing feature does not function as intended [Block] Query Loop Affects the Query Loop Block labels Sep 23, 2024
@annezazu
Copy link
Contributor Author

cc @carolinan as you worked so hard on this ❤️

@carolinan
Copy link
Contributor

Which WordPress version is used?
Can you see what the error is in the browser's console? (how to open that will depend on the browser)

@carolinan
Copy link
Contributor

Does this only happen when inserting this pattern, or with newly inserted query loops?

@carolinan carolinan self-assigned this Sep 23, 2024
@annezazu
Copy link
Contributor Author

Using version 6.6.2 and in Chrome Version 128.0.6613.85 on a Mac. I found this happened when adding a query loop block fresh and trying to customize it. I can also replicating when adding a Posts pattern with a query loop and trying to customize it.

Here's what I see in the console:

Screenshot 2024-09-22 at 6 31 03 PM

@carolinan
Copy link
Contributor

Thank you.

@annezazu
Copy link
Contributor Author

Awesome work. Thank you @carolinan!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Query Loop Affects the Query Loop Block [Type] Bug An existing feature does not function as intended
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants