Apparently this is a new WordPress bug (I’m using version 3.5.2). Just set wp_debug to false and it works perfectly again. Hopefully they’ll fix this soon.
define('WP_DEBUG', false);
Related Posts:
- Uploading media with the REST API
- Decrease file size upload in Media
- Adding a custom image upload size and making it selected by default?
- Failed media upload: “The uploaded file was only partially uploaded.”
- How to upload imagick resource to media in wordpress
- Upload images and attachments from frontend form
- WordPress media upload “HTTP error”
- What is the alternative to “ when it comes to calling Media (image) files in the ‘attachment.php’ file?
- How do I get around “Sorry, this file type is not permitted for security reasons”?
- WordPress automatically adds links to uploaded images
- Get featured image with custom size outside WordPress
- Custom upload folder
- Convert all uploaded PNG files to PNG-8 format
- How to decrease the max file upload size without using php.ini or htaccess?
- Hook on file upload
- wp_delete_attachment not working with multiple values
- Edit Image/Image Details – Replace button missing
- How to automatically convert images to WebP on WordPress?
- How to make a image-size selected by default in Media upload – WP v3.5
- How to change upload directory in wp_handle_upload
- Remove “Insert from URL” link in Media upload – WP 3.5
- Hide old attachments from wp media library
- Image Upload “exceeds the maximum upload size for this site”, but php.ini is correct
- How to register images uploaded via FTP in media library?
- Create Image Uploader for Widget
- PHP/Manual use of images? – 2 Questions
- Debugging upload problem: What part of WP does actual image-resizing?
- How to resize image on client-side before upload?
- Accessing a random image via ajax
- Make WordPress upload directory outside wordpress root with custom url
- Is it unsafe to put php in the /wp-content/uploads directory?
- Image upload via FTP to wordpress media library
- How do I get images (with a thumbnail preview) to show in search results?
- Restrict WordPress File Type Uploads by User Type
- File upload, uploads only file name
- Modify Maximum upload file size text
- Upload a json file in php [closed]
- Custom image upload
- is it possible to force wordpress to always save thumbnails as ‘jpg’ not ‘png’
- Memory errors with media upload, WordPress can’t use more than 96M (while there’s 512 available!)
- Get most recent media upload
- Convert all images to PNG on file upload
- Upload Image in a WordPress page using PHP
- How to get media objects
- WordPress (3.9.1) MultiSite Permissions. Is chown the answer?
- Randomise upload filenames (or another solution to hide the original image URL from theft?)
- Using file_get_contents with Gravity Forms uploads folder to create images in the media library returning false
- how to retrieve uploaded url of zip files
- Why is $_REQUEST an empty array in admin-ajax.php?
- How do you use WP slugs for PDF files / media?
- How to upload a file to a folder named after the user_id via plugin
- Image rotation and editing stopped working in WordPress after upgrading Ubuntu from 16.04 to 18.04
- Upload multiple images to a Woocomerce product
- Upload file could not be moved to wp-content/uploads
- NGINX rewrite rules for multisite
- How do I Import / Upload Files with jQuery AJAX?
- WordPress function when file is uploaded, deleted or edited
- Can I get an email notification when media is uploaded to the media library?
- Returning data instead of echoing/printing
- WordPress import media error
- Upload multiple files in randomly generated folder using wp_upload_bits
- Can’t upload CSV file to plugin directory using custom upload form in admin panel
- How do I increase the upload size only when editing special pages?
- Get URL of Featured Image After wp_insert_post()
- WordPress İmages Upload & Delete Error
- Allow user to Upload image and manipulate it on the frontend
- Front end file upload returning wrong attachment url
- Hide media for non logged in users
- Some problems in custom widget
- Checking page before applying image restrictions while uploading
- I can’t set image ad fatured programatically
- How can I update WordPress plugins or WordPress itself in all server?
- async upload not working when not logged
- WordPress loading all local images from specific directory?
- Trying to generate a CSS file in wordpress uploads folder
- Maximum file Upload
- Change upload URL by mime type
- Right path for renaming a file in uploads folder
- Attaching an upload to a user
- WordPress file upload
- Upload images from one server to an other in wordpress
- Crop an image after upload on custom account page
- Restrict File Type Uploads by User on Wordress via functions.php
- Can’t get data from audio media
- Renaming “Expand Details” within “Add Media”
- Save the outputted image into the Media Library, with a different filename and extension
- 403 (Forbidden) delete file image in themer folder
- Is custom behaviour possible when asynchronously uploading?
- How to resize an image server-side before upload?
- Name Input from widget displays Sidebar name instead of saved data
- An automatic way to crop images of different sizes
- WordPress directories not writable after PHP version upgrade
- Upload multiple files via ajax from an HTML file input
- get_post_meta returns on side but it doesn’t return on bottom of admin page
- stop resize button for wordpress media
- “Unexpected response from server” error when trying to upload any .mp4 file over 100MB
- Get a list of folders inside uploads directory
- Changing upload directory temporarily
- How can we upload custom page files?
- Unable to upload media to WordPress