-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Gallery block: Image size select doesn't load if no image ids #36554
Comments
I am getting this problem still with latest all updates done. Adding new gallery block (of over 100 images) and the 'Image size' just keeps rotating the 'Loading options…'. |
@dynamek can you please clarify if "with latest all updates done" is just WordPress 6.0, or do you also have the latest Gutenberg plugin installed? |
With Wordpress 6.0, and no additional gallery/gutenberg plugin installed. |
Thanks for confirming. I wasn't able to replicate the issue on a fresh WP 6.0 install with a gallery of several hundred images. Do you see any errors in the browser javascript console, or are there any network requests pending in the developer tools network tab when you see the stuck |
Looks to be this error Failed to load resource: the server responded with a status of 502 () |
Do you have access to your server error logs? The error log may provide some more details as to why the error is being thrown. |
I sent you the error logs yesterday, have you seen them? |
No sorry - how did you send them? |
I replied by email as it says 'Reply to this email directly' |
|
Thanks @dynamek, unfortunately that log doesn't give much extra detail. Do you have access to a php error log on your server? |
I can't see any problem in the debug.log. I'm happy to give you admin access to see it for yourself. |
Yes I have error logs
Attached the most recent
From: Glen Davies ***@***.***>
Sent: 16 June 2022 05:36
To: WordPress/gutenberg ***@***.***>
Cc: dynamek ***@***.***>; Mention ***@***.***>
Subject: Re: [WordPress/gutenberg] Gallery block: Image size select doesn't load if no image ids (Issue #36554)
Failed to load resource: the server responded with a status of 502 ()
/wp-json/wp/v2/media…=100&_locale=user:1
Do you have access to your server error logs? The error log may provide some more details as to why the error is being thrown.
—
Reply to this email directly, view it on GitHub <#36554 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AD3G2PLRKUNB7BRAOHDW22DVPKVMBANCNFSM5IF2TQAA> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/AD3G2PKZMHIWRZYNIOWPAU3VPKVMBA5CNFSM5IF2TQAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIT45BEI.gif> Message ID: ***@***.*** ***@***.***> >
|
I am having this problem again with a new gallery block today. A difference though with this one is that none of the images are able to open in lightbox. The gallery has 160 photos in it. Is someone working to fix this in the core Wordpress files? |
Description
If a gallery consists only of external images, which have no WordPress id, then the Image size select in the settings panel gets stuck on loading.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
Gutenberg > 11.9
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: