[FIX] [WP] “HTTP error” when Upload on WordPress or strange issue

CHOOSE LANGUAGE / SCEGLI LINGUA

So you get some strange error whenever you upload Images on your WordPress Sites using the Media Library? It keep saying “error Http” or ” Maximum execution time of 30 seconds exceeded in /home/content/**/*******/html/wp-includes/class-wp-image-editor-imagick.php on line” ? Let’s see how can we fix that.

Http error WordPress

STEP 1 : PLUGINS ISSUE

First of all ensure yourself that some lastly installed plugins doesn’t disturb your Media Library. Try to disable them and let’s see what happen.

STEP 2 : FILE FORMAT

Sometimes the error could be related to the image files itsels. If you deal with PNG try to recompress it to JPG. Otherwise the file name contains strange caracters try to rename it. Let see if now your Upload Works.

STEP 3 : IMAGICK ISSUE

Ok, the two methods above doesn’t worked out? Try to install this Plugin. Default to GD is a light and cool plugin that sets GD as the default WP_Image_Editor class for WordPress. Did you know that some time Imagick give problems? Install this plugin, activate it … now should work all. (Click here for direct download)

STEP 4 : HTTP PROBLEM (worst case)

There are a very uncommon issue with cames with image. You can’t see at all your Media Library content neither upload something. (Here you can find the complete guide for this Step with images.)

  • Install Filezilla
  • Access to your Site
  • Go to /wp-content/ directory. There you will see /uploads/ folder.default-to-gd-master
    screenshot.48
  • Right click on the uploads directory and select file permissions.
  • Enter 744 in the numberic value box (if doesn’t works try 755 later)
    744 WordPress
  • Check the box next to Recurse into subdirectories.
  • Click on ‘Apply to directories only’ radio button.
  • Click Apply and Wait.
  • Now, the same thing but only for files. Go to /wp-content/ directory. There you will see /uploads/ folder.
  • Right click on the uploads directory and select file permissions.
  • Enter 644 in the numberic value box
    644 WordPress
  • Check the box next to Recurse into subdirectories.
  • Click on ‘Apply to files only’ radio button.
  • Click Apply and Wait.

Now go back to your WordPress admin area and try uploading images again.

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *