-
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
Media library can only be opened once - upload freezes on second opening #11373
Comments
I was unable to reproduce the problem using the following testing steps and testing with WordPress 4.9.8 and Gutenberg 4.2.0 using Firefox 63.0.1 on macOS 10.13.6:
Result: the media library opened normally for me when using the "Media Library" button in the image block. (58s) Are your steps the same as the ones I've noted above? Are you using a classic block (or some other block) instead of an image block? Are you able to open the Media Library directly using that option in the left sidebar? Can you note your OS and browser versions for reference? If possible, can you try to see if there are any errors in the browser console at the time you try to open the media library for the second time? |
I have a Windows 10 machine, running Chrome Version 70.0.3538.102 (Official Build) (64-bit). I can't seem to find the version number of Gutenberg, but I first installed it the day I submitted the comment. Here are my steps:
The developer console has the following message Let me know if you need more info. |
I experienced the same problem with a similar scenario; attempting to upload and set the featured image. Having failed to make any progress while attempting to debug my scenario I attempted to reproduce the problem with the steps listed above. The console log , using WordPress 5.0.2 and Gutenberg v4.7.1, is almost identical.
|
having the exact same issue. I have posts that are 100% relying on the galleries. Has anyone come up with a patch? or any info when WP will fix this? |
This is still an issue, just confirmed it in Gutenberg 5.4.0 on Windows 10 and Chrome Version 73.0.3683.103 (Official Build) (64-bit). |
Would be good to have some eyes on this as time allows @antpb @joemcgill @getsource |
If this helps in advancing this in Cue having the same exact issue. |
Still nothing going on in this issue? |
I got this, but on an ACF settings page. I'm probably being stupid, but I cannot find a ticket for it on Trac. Does anyone know if its even being looked at by the core team? |
Same problem here with WordPress 5.6.1, Twenty Twenty-One 1.1, no plugins, Chrome Version 88.0.4324.150 (Official Build) (64-Bit), reproducable with steps provided by @rowroll
|
I tested using WordPress 5.7.
I tested from 1 up to 9. Uploading gets stuck as you mention. This is what I noticed. I am also getting this error along the way: #25805 The Block Gallery is getting renewed in this PR: #25940 @glendaviesnz |
I'm running into this issue with WP 5.7 currently. It is reproducible on a local install with the above test steps. |
Thanks for the ping - looks like this is an issue in the core wp media library which the gallery refactor doesn't touch, so the gallery refactor will have the same issue, and any fix in core wp for this will fix the issue in the gallery refactor. |
I hope this info can narrow down the issue - I did some testing as well. It seems that this upload freeze only occurs after a gallery component has had images inserted into the component, by clicking the Theoretically, based on the test cases here and my testing, it stands to reason that something is affecting the uploading of images when images are inserted into a gallery. I'll update here with any findings. |
I have added a core ticket for this https://core.trac.wordpress.org/ticket/53169 and possible fix WordPress/wordpress-develop#1235 |
This is resolved in WP 5.8 and gutenberg 11.3. |
I keep having to refresh the whole editor page when I open the media library upload for the second time. I can see the upload for a new photo start, but it then stops, and just hangs. Closing the media library and opening it does not help, I have to refresh the whole page.
The text was updated successfully, but these errors were encountered: