Because the problem was not host, theme, or plugin specific, I figured it must be an issue in the database.
On the remote staging site, I dropped all database tables, reran the WordPress setup wizard, enabled plugins, and then imported a WordPress export from the local development site.
I can now upload images, but still don’t know what was preventing me from uploading them originally.
Edit: I can upload some images. The original Photoshop saved/exported JPGs still produce the same error.
Related Posts:
- http error when uploading media files
- WordPress cannot upload data after migration
- HTTP Error when uploading mp4 video file
- Whole bunch of errors on WP website – media upload, edit slugs, edit screen not working [closed]
- What error logs can I check to see why plugin updates are failing?
- wp_generate_attachment_metadata generates 503 Service Unavailable or 500 timeout errors
- How to solve: An error occured in the upload
- Unable to Upload Images on Local Windows Install
- Flatten media files in uploads directory via linux terminal eliminating thumbnails?
- Uploading .mp3 files http error – 2 “exact” files one successful other fails
- HTTP Error after finishing uploading a video that is bigger than 64 MB -> After raising the upload limit manually in the wp-config file
- PHP error when trying to upload .mp3 files via Media Library [closed]
- media_handle_upload() returns Specified file failed upload test
- Files larger than 500 kilobytes are not allowed
- http upload error as a subscribed user
- How to show all available images in WP’s media library when using the Polylang plugin?
- Saving Media – Which Hook is Fired?
- retrieve custom image sizes from media uploader javascript object
- Is it possible to allow zip files to be uploaded in WordPress?
- WordPress monthly upload directory owner set to root
- Set a maximum upload count for users on a specific user role
- Append button to WordPress Image Details modal
- How to set custom upload directory per user after moving content directory
- Importing WordPress Attachments Into Custom Directories In wp-content/uploads/
- add_image_size creating lots of images (of various sizes)
- This file type is not allowed. Please try another
- File Upload Permissions
- Setting the uploads directory
- How to disable WordPress Media resize different size version?
- insert post & Upload post thumbnail from the front end using ajax
- how to add new .webm mime types
- How can I save the original filename to the database?
- How to side load an image from a service
- Can’t write pdf file to upload directory using FPDF
- Change default uploads file using wp Skeleton
- Change default from “Attachment post URL” to “File URL” in Add Media
- how to use media library [closed]
- Adding Adobe files to a wordpress site [closed]
- What types of files can I upload with the WordPress Uploader?
- Replacing Images in Media Library
- Creating a feature to upload multiples images in the Theme Options?
- wp_handle_upload returns empty error array
- Disabling direct access to images using .htaccess
- Restrict WordPress Media Library for a specific user role (users can only see/select own media)
- Manual filename while uploading attachments
- Catalina an MAMP Database Conenction Error
- Convert (-) and (escape) signs to (_) when uploading files on wordpress media library automatically
- Make WordPress compress full size image?
- Move files from flat upload directory to organised by year / month
- Can’t manipulate media uploads
- How to limit the number of simultaneous media uploads?
- Custom media uploader not showing library
- Symbolic link for uploads in wordpress
- Process uploads with phpThumb before generating thumbnails
- Resize existing library images
- WP 4.3.1 new install on localhost missing php.ini [closed]
- Large image upload size (using timthumb.php
- How can I manage and limit disk usage for each author?
- How would I change the 10 MB limit to 5 GB in this script?
- Media Library Won’t Display Any Images
- When does WP resize an image file
- How can I modify the media upload form fields?
- More Fields & Media Upload
- How does wordpress handle media files?
- Upload Custom Mime Types in WordPress (SVG, WebP)
- Send an e-mail notification to custom user role when a file is uploaded to uploads folder
- Resize uploaded original images to a minimum automatically
- WordPress Thumbnail compression depends on the server?
- Better solution for managing media attachments with `wp_editor()`?
- Upload PDF and other files from the Front-End
- Custom Text in Media Uploader in a Theme Options Page
- How to disable image thumbnails from media manager but not post media uploader?
- Do custom post type (CPT) attachments/media store the parent post ID?
- Upload image fails “upload test” on localhost
- Get uploaded video URL
- How Do I Change the File Permission For Uploaded Files in WordPress?
- The uploaded file exceeds the upload_max_filesize directive in php.ini. showing while uploading a theme
- An error has occurred during the upload process in wordpress 5.3.2
- Using unzip_file() to get contents of file
- Which WordPress file controls the featured image upload maximum width and height of 3000px
- Moving wp-content folder to public_html
- An error occurred in the upload. Please try again later
- Using Gravity Forms to upload media into library, then attach to post
- Uploading a file results in attachment post, but file is missing
- Why I am not able to upload media files?
- Featured image to grayscale with PHP imagefilter – which hook to use?
- Store uploads on an external server?
- Force relative path in media library for LAN deployment
- WordPress Media manager select file button, how to prevent hiding?
- Make thumbnail from uploaded image without plugin
- Making Site A Use Site B’s wp-content Folder
- Limit number of uploaded attachments of specific context
- Set featured link not showing
- WordPress upload folder on separate server
- increase maximum upload file
- make default upload folder year/month/day wordpress without plugin [duplicate]
- Display Image Upload from Contact Form 7 on Redirect Page [closed]
- Updating Media Library PDF’s in bulk
- Assign multiple categories to Media Library upload
- Update media item using wordpress rest api in python