In case any poor soul runs in to something similar, I’ve found the problem:
define('WP_DEBUG', false);
Running debug mode (as I do on all dev sites), was throwing a warning, but it was being returned in the ‘admin-ajax.php’ which was preventing the images from showing/uploading and returning the appropriate values etc.
I cannot believe the answer to debugging was to stop debugging. Jesus.
I’m away to file a bug report now.
Related Posts:
- Uploading Images to Media Library via wp_handle_sideload() fails
- How to upload an image in the plugin’s options page
- Share media among different domains
- Media_handle_upload with custom upload folder?
- Organize media uploads in folders – I have a physical access to (my) server
- Create a User Role with permissions to only upload files to the media library?
- Is it possible to share WordPress media files among different domains?
- Media attachment date and post date
- Uploads folder only showing files up to the letter “P”
- How to add subfolders in media library for better organisation?
- Checking if a file is already in the Media Library
- Uploaded images don’t show in Media Library if there are special characters in IPTC Keywords
- Custom “Uploads” Dir: “Edit Image” in Media Library broken
- How can I list URLs of all audio files within my media gallery?
- How to protect uploads in multisite if user is not logged in?
- Filter pictures in the media library [closed]
- uploading files to the uploads folder via ftp
- Making Media Library “Alternative Text” Field Required
- Remove upload_files capability from a role but allow role to manage an avatar image
- WordPress 3.5 Media Manager – Reorder Selectbox items on Media Library Tab [duplicate]
- How to Check Disk Space used by Media Library
- How can I stop WP media uploader from creating duplicates of my uploaded images?
- How to change the image size in new Media Uploader (ie use medium vs thumbnail)
- Where is the source of the media items filter
- Image uploading stuck on “crunching”
- Change the size of the image preview on the media edit page
- Uploading images: ‘ø’ get replaced with ‘ø’
- Get attachments by user
- Add select field to media uploader that adds a class to the image
- Media gallery thumbnails 1px
- Adding wp_enqueue_media(); causes problem
- Changing image URLs in media library
- How to have changes made in media library to be reflected on posts/pages
- Media Uploader in custom path
- Is it possible to hide media details sidebar when wp.media popup is being opened?
- Upload file type not permitted even if explicitly registered as upload_filetypes in the db (multisite)
- How to set post_id to 0 when you upload image via Add media button. (async-upload.php)
- Media Library not showing images properly
- I’m using add_meta_box() but want to include TinyMCE editor *and* Media Uploads for each box
- Media Library Grid View Custom Filter
- Display attachments by the ID of the post being edited in the wp.media frame (frontend)
- Update image via WP REST API
- Not able to extend wp.media.view.AttachmentsBrowser
- Custom Media Modal and uploading
- Media Library does not show the uploaded image
- Attach Thumbnail Generated from Video Upload as Featured Image for the Video
- Is it possible to split Default WP Media directory to multiple Folder/Subdomain?
- Media Library No Longer Displays Images
- How to upload WordPress Images to remote web server and display those images in WordPress gallery [closed]
- Media Library SSL
- Images in media library have suddenly disappeared
- Uploading .mp3 files http error – 2 “exact” files one successful other fails
- Images uploaded to the media library has strange colors. However, in the edit screen the color is ok
- WordPress Media Library showing wrong preview size?
- Media library and posts list problems with WordPress on IIS
- “add from media library” tab is super slow [closed]
- Original image not saving?
- Restrict role to view own media
- Issue with images which have no sizes available
- Adding Alt Tag and Dimensions columns to Media Library
- WordPress media upload issue could not insert attachment into the database
- Thumbnail images missing in WP media library
- What would be the URL to display the WordPress image editor with an image from the media library?
- get_attached_file returns wrong path after changing media upload dir
- How to change the value “uploaded to” in the media library (WordPress 4.0)
- Prevent other editors from viewing images of other editors in Add Media Popup
- What if I have a large file on the server that I want the wp library to have?
- User media folder for each users on registration
- Change image data durgin upload
- Cannot create new posts or upload images using media manager
- How can I no-index specific PDF files in my Avada WordPress media library so that they don’t appear in search results?
- Efficient way to move media folder to another folder
- Filter media library by custom postmeta
- How to add HTML into error message
- How do you find a file in the media library using the file URL?
- Media Library: Remove replace images of selected author
- How to upload multiple images using WP rest API to media?
- How to handle a lot of media files in the uploads folder? (+10.000)
- Import all media referenced in posts
- Changed media upload path for plugin, but generates error & shows wrong url
- Organising and display thousands of photos in media library
- When I’m in post editor and click on ‘Add media’, why won’t it load the media library with this code?
- How to configure WordPress to create thumbnails
- My deleted media exists jet
- Exclude some photos in media library
- How can I add a Description column to the media library browser screen?
- Get filenames of available image sizes
- wordpress 3.6 media manager cropping timestamp
- Image uploaded in media library, can only see it when I using the WP Edit Image feature. 404 when trying to view in browser
- Host Images from Link
- Use the “Media Library” in Frontend
- How do I change a Themes Header Image?
- Edit Image/Image Details – Replace button missing
- Add frontend editor with media buttons for Visitors and display only their media
- Media Library is not loading on grid view in admin panel
- Why is my upload / Select media library button empty?
- Blurry Images WordPress 5.8.1
- What does WordPress media uploader do to image files on upload?
- Upload to a specific media folder created by FileBird Lite
- Block non logged in users from accessing the media library