http error while uploading images

METHOD 1 - Correcting the HTTP Upload Error

STEP 1

Log into your cPanel dashboard or connect to your server using tools like Filezilla, Flash Fxp, etc…

STEP 2

Using the File Manager, navigate to your WordPress site’s root directory.

STEP 3

Locate and open the .htaccess file for editing.

STEP 4

Add the following line of code at the top of the file:

SetEnv MAGICK_THREAD_LIMIT 1

STEP 5

Save the changes to the .htaccess file.

Now you should be able to upload the image in your WordPress site without issue.

METHOD 2

  1. Disable all the external plugins one by one and see if the issue resolves.
  2. Switch the theme to default theme (twenty seventeen) and check if the media upload is working. If it does not work, then issue might be from the server side. Please contact your hosting team regarding the issue.
  3. Check if the “uploads” folder permissions are set correctly.

Rate This Article

(51 out of 104 people found this article helpful)

Leave A Comment?

This site uses Akismet to reduce spam. Learn how your comment data is processed.