-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Media library shows "No items found" when creating a new gallery #22338
Comments
This has happened to me today. What is happening is it's adding every single piece of media from your site to the gallery, thus there is nothing new to add. If you click Edit gallery, they are all selected in there. |
Same here; I cannot create a new gallery :-( |
I have tested on several sites and can confirm. |
This is still an issue for me. When I try to add a new gallery, it loads images for a second or two, and then it goes away. Upon inspection, the entire media library seems to be loaded into the gallery. Running WP 5.4.1 and Gutenberg 8.2.0 |
@cngodles This has been merged for the upcoming 8.3.0 release. We should see the results soon! |
@youknowriad any possibility of an 8.2.1 to address this? |
@GlennMartin1 yes, I'm releasing it right now. |
Us usual solution is to disable all plugins. It took me a day to find the problem. It turns out PolyLang plugin separates images by language. So if all images are uploaded in English, they will not be shown in French. Solution is to go to PolyLang settings and turn off media library support. |
Describe the bug
When I create a new page and add a gallery block, no media items are available for me to select. If I try to edit that new gallery, all items in my media library are already selected.
To reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
Editor version:
Desktop:
Additional context
admin-ajax.php
call made by the media library returns some set of objects on that initial load. I did not dig into why they did not appear.The text was updated successfully, but these errors were encountered: