Title: HTTP error while uploading pictures
Last modified: November 9, 2019

---

# HTTP error while uploading pictures

 *  Resolved [Farrukh](https://wordpress.org/support/users/faarukh/)
 * (@faarukh)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/http-error-while-uploading-pictures-2/)
 * Hi
 * When I upload the picture on my website, during uploading I got HTTP error. I
   already discuss with my hosting and they told me that it’s from plugin side. 
   The plugin’s developer should fixed this.
 * So please check and fixed this error.
 * Regards
 * Farrukh

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

 *  Plugin Support [Dimitris – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support6/)
 * (@wpmudev-support6)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/http-error-while-uploading-pictures-2/#post-12114233)
 * Hello [@faarukh](https://wordpress.org/support/users/faarukh/)
 * Didn’t the hosting provider include any more info about this error?
 * Cause the error message is pretty generic, we should enable WP debuggers to get
   to the bottom of this.
 * Could you please access your server via (S)FTP, edit the **wp-config.php** file,
   find a line like
    `define('WP_DEBUG', false);` and replace it with the following(
   if the above line doesn’t exist, simply insert next snippet just above the _/*
   That’s all, stop editing! Happy blogging. */_ comment)
 *     ```
       // Enable WP_DEBUG mode
       define('WP_DEBUG', true);
       // Enable Debug logging to the /wp-content/debug.log file
       define('WP_DEBUG_LOG', true);
       @ini_set('log_errors', 1);
       // Disable display of errors and warnings
       define('WP_DEBUG_DISPLAY', false);
       @ini_set('display_errors', 0);
       ```
   
 * When you’re done, try to go to replicate the issue once again by uploading an
   image until the error comes up again.
 * By doing so, a **/wp-content/debug.log** file should be created.
 * Simply download it, rename it to **debug.txt** and attach it here in your next
   reply. If the size of the text file exceeds the 5MB limit of our blog, please
   use a service like Dropbox and post the shareable link instead.
 * Thank you,
    Dimitris
 *  Thread Starter [Farrukh](https://wordpress.org/support/users/faarukh/)
 * (@faarukh)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/http-error-while-uploading-pictures-2/#post-12115151)
 * Ok I will try this. Thanks for your reply.
 * Regards
 * Farrukh
 *  Plugin Support [Dimitris – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support6/)
 * (@wpmudev-support6)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/http-error-while-uploading-pictures-2/#post-12167494)
 * Hello [@faarukh](https://wordpress.org/support/users/faarukh/)
 * It’s been a while since we’ve heard back from you so I mark this as resolved.
   
   Feel free to post back any updates or create a new topic about it.
 * Take care,
    Dimitris

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

The topic ‘HTTP error while uploading pictures’ is closed to new replies.

 * ![](https://ps.w.org/wp-smushit/assets/icon-256x256.gif?rev=3447113)
 * [Smush – Image Optimization, Compression, Lazy Load, WebP & CDN](https://wordpress.org/plugins/wp-smushit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-smushit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-smushit/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-smushit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-smushit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-smushit/reviews/)

## Tags

 * [http error](https://wordpress.org/support/topic-tag/http-error/)
 * [Pictures](https://wordpress.org/support/topic-tag/pictures/)
 * [uploading](https://wordpress.org/support/topic-tag/uploading/)

 * 3 replies
 * 1 participant
 * Last reply from: [Dimitris – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support6/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/http-error-while-uploading-pictures-2/#post-12167494)
 * Status: resolved