Just disabled the ImageMagick Sharpen Resized Images plugin and I could upload again π Hope it helps.
Thanks Stevish this worked great!!!!
This workaround didn’t work for me. My host is useless and not even answering so I tried the plugin suggested. Any attempt to upload an image file just ends in a http error.
I read the whole post in detail, install plug-in. Does not work.
Help would be appreciated…
Thanks
@loicb
Add this code in functions.php file
add_filter( 'wp_image_editors', 'change_graphic_lib' );
function change_graphic_lib($array) {
return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' );
}
I’ve run into this problem since upgrading to 4.0 on numerous sites. It turns out that a nifty image optimization plugin from Kraken.io is to blame.
So, if you’re seeing this problem and you have the Kraken plugin installed, deactivate it and see what happens.
(and yes, I know that the standard advice is to deactivate all plugins and test, but who really does that? LOL)
Hello,
Thanks for your feedback. I will try.
In the mean time I have size down the video (now 13Mb). The upload did work without Http Error. But when I’m watching the video I have the sound, but the image is black.
Any suggestion?
Thks
Loic
I have had no luck solving this problem. I have sites on 1and1, Media Temple Premium WordPress and on Rackspace Cloud and they ALL have the problem. Nothing crazy going on here and I am uploading small files (under 1MB). Hosts have been no help as well. I tried defaulting to GD. Worked for MT hosting but not on 1and1. I saw this happen a bit with v3.8 but this seems to have gotten worse since 4.0 update on my sites.
Pulling my hair out trying to figure this out.
Hello fishnyc22
Do you have any idea how to solve this, I mean what to do, how to go ahead? If not in this forum, where?
This is a very big issue…
Hope to get further idea from the community
Loic
We were getting “HTTP error.” and switched to the less fancy WordPress browser uploader (/wp-admin/media-new.php?browser-uploader) and got this more detailed error: Nginx: 413 Request Entity Too Large
On our AWS instance using NGINX, we had to adjust “client_max_body_size”. in /etc/nginx/nginx.conf
The default “client_max_body_size” on NGINX is 1MB.
We added: client_max_body_size 10m;
and restarted NGINX.
anyone have a followup on this. i tried everything above and still cant upload anything bigger than 20k.
on the phone with my godaddy host and they cant find anything that would have the server stop the upload.
thanks,
davarian
Hi everyone,
I spent hours trying to find out what the issue is, turns out this was the problem (I installed CentOS 7 which uses the new apache server and fast-cgi):
https://wordpress.org/support/topic/resolution-to-the-dreaded-http-error-during-media-uploads
This part is basically the solution:
HTTP.CONF used to set a value for FcgidMaxRequestLen somewhere in the neighborhood of 1gb by default, which it no longer does in newer versions. The new default is 131072 bytes. that value is overiding your value in php.ini, so you Must change this to match your settings in php_max uploads so you don’t pull your hair out.
I hope this helps!