Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am getting an 'HTTP Error' when uploading images to posts. What could be the reason for this? It doesn't happen all the time, sometimes I get the error, try again, and the file uploads. Actually the file always seems to upload, however it doesn't generate the different sized images or anything.

share|improve this question

1 Answer 1

There a couple of different solutions depending on the cause of the problem.

In your case it seems that is not a upload problem. I would rather try adding the following plugin

Plugin Name: Default to GD
Plugin URI:
Description: Sets GD as default WP_Image_Editor class.
Author: Mike Schroder
Version: 1.0
Author URI:

function ms_image_editor_default_to_gd( $editors ) {
    $gd_editor = 'WP_Image_Editor_GD';

    $editors = array_diff( $editors, array( $gd_editor ) );
    array_unshift( $editors, $gd_editor );

    return $editors;
add_filter( 'wp_image_editors', 'ms_image_editor_default_to_gd' );

This will change the default image editor

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.