Bug #7750
closed
Media Gallery not loading
Added by Lisa Rhody over 7 years ago.
Updated over 7 years ago.
Description
HI all,
We are experiencing difficulty getting the Media Library to load for the cuny.is/gcdi site. I know that we have images in the Media Library, but the page looks like it's hug up and refuses to load any images. There is a
Here's what I get in the console when I open up the post page:
jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed, version 1.4.1
plugin.min.js:1 Deprecated TinyMCE API call: <target>.onNodeChange.add(..)
widgets.wp.com/notifications/?jetpack=true&link_accounts_url=https%3A//gcdi…https://gcdi.commons.gc.cuny.edu/wp-admin/post.php?post=4848&action=edit:1 Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at XMLHttpRequest.r.onreadystatechange (build.min.js:2)
Then if you look at the network activity, there's an admin-ajax.php request that continues to loop and loop and loop with no response.
Thanks for looking into it!
Best,
Lisa
Files
- Status changed from New to Reporter Feedback
What do you mean by the "Media Gallery"/"Media Library"? Is that the slider at the top of the page?
When I first loaded the page, that content wasn't loading. But after a hard-refresh, it's now appearing. Perhaps Jetpack updated its JavaScript without forcing a cache flush?
Can you verify that I'm looking in the right place, and that a hard refresh fixes it for you? If so, I can look into whether there's something I can do to force Jetpack to increment its cache.
FWIW, it is working for me as well -- see attached screenshot
HI all,
By Media Library, I mean the area that you access when selecting ways to add media content to a post / page / or slide or a featured image.
For example, in this week's Digital GC post, we select a "featured image" to be included with the post. If you go into the Edit Post page, and select on the right hand column "Set Featured Image," this action calls up a "Featured Image" page. That page has two tabs: Upload Files and Media Library. I've attached a screen shot. That's where I've been looking at the panel. In reviewing earlier bugs, I noticed that there's an issue around Jetpack's Publicize. Coincidentally, we have just activated Jetpack's Publicize widget to improve social media integration. Perhaps this is the source of the trouble?
Best,
Lisa
Could this be related to #6178?
After disabling as much of Jetpack as I could, I'm still having trouble getting the Media Library to load. I know there are a ton of images there, and we depend on them for correctly formatting the post featured images... so I'm not sure what else to say. I've been preserving the console log, so I can send that along if desired.
- Target version set to 1.10.13
Thanks, Boone. I can confirm that the fix worked. I'm going to try to re-enable Jetpack now. Thanks so much for chasing that down (both from a PF and a CAC perspective)!
- Status changed from Reporter Feedback to Resolved
Also available in: Atom
PDF