I am getting HTTP errors on Image upload in wordpress.

To resolve this I tried following steps

  1. I added SetEnv MAGICK_THREAD_LIMIT 1 in .htaccess file. But issue not resolved.

  2. I also added following code in functions.php file. But issue not resolved.

    add_filter( ‘wp_image_editors’, ‘change_graphic_lib’ );

    function change_graphic_lib($array) {

    return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' );
    

    }

  3. I also added following code in .httaccess file.

    SecFilterEngine Off

    SecFilterScanPOST Off

  4. I have also used https://github.com/getsource/default-to-gd plugin. But my issue not resolved.

Please help me how can I fix this issue.

Read more here: HTTP errors on image uploads in wordpress


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: