Title: HTTP Error
Last modified: July 4, 2018

---

# HTTP Error

 *  [lizhenkenius](https://wordpress.org/support/users/lizhenkenius/)
 * (@lizhenkenius)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/http-error-131/)
 * Yesterday and today while trying to upload photos for a new post I received this
   HTTP error. I tried several fixes I found online such as downsizing the photo,
   making sure everything was in jpeg, deleted some uploaded photos I do not need,
   and even attempted to change the php. I have uploaded several photos taken with
   the same camera and the same size and everything in the past, so am not sure 
   what the issue is.
 * Any advice would be amazing!
    Liz
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhttp-error-131%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Kartik Shukla](https://wordpress.org/support/users/kartiks16/)
 * (@kartiks16)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/http-error-131/#post-10460971)
 * Hello,
 * Did you try below fixes?
    ################################## Increase WordPress
   Memory Limit You can do this by adding the following code to your wp-config.php
   file. define( ‘WP_MEMORY_LIMIT’, ‘256M’ ); ##################################
   simply adding this code to your theme’s functions.php
 * function wpb_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’, ‘wpb_image_editor_default_to_gd’);##################################
 * Add the following code in your .htaccess file:
 * SetEnv MAGICK_THREAD_LIMIT 1
 * Let me know if this helps.
 * Thanks.
 *  Thread Starter [lizhenkenius](https://wordpress.org/support/users/lizhenkenius/)
 * (@lizhenkenius)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/http-error-131/#post-10461192)
 * [@kartiks16](https://wordpress.org/support/users/kartiks16/) thank you for your
   reply. I tried the second option with not luck. I am unable to figure out how
   to find the wp-config.php file, can you tell me how?
 * Thank you
 *  [Kartik Shukla](https://wordpress.org/support/users/kartiks16/)
 * (@kartiks16)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/http-error-131/#post-10462048)
 * Hello,
 * You can find the wp-config & .htaccess file at the root, where we have others
   folders like wp-content, wp-admin etc…

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘HTTP Error’ is closed to new replies.

## Tags

 * [HTTP](https://wordpress.org/support/topic-tag/http/)
 * [photos](https://wordpress.org/support/topic-tag/photos/)
 * [upload](https://wordpress.org/support/topic-tag/upload/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Kartik Shukla](https://wordpress.org/support/users/kartiks16/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/http-error-131/#post-10462048)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
