0

My Website had problems dealing with attachments (uploading seemed to result in a HTTP Error quite often) so I dug around a little.

Developer Tools showed me that the /wp-admin/async-upload.php returns an Error 502 (at least for bigger pictures and maybe all jpeg).

I also tried manually rebuilding thumbnails, but the plugins' ajax calls (I used two) also returned 502.

I have already deactivated all plugins, didn't change anything. Only idea is that maybe some media size might cause a problem but I don't remember changing anything in that direction, it just stopped working... Though it's possible that there was a major core update in that time

 

List of sizes:

thumbnail: 150×150 Px
medium: 300×300 Px
medium_large: 768×0 Px
large: 1024×1024 Px
iphone: 320×9999 Px
iphone_2x: 640×9999 Px
ipad_hoch: 768×9999 Px
ipad_hoch_2x: 1536×5999 Px
ipad_quer: 1024×9999 Px
ipad_quer_2x: 2048×9999 Px
custom1: 1400×9999 Px
custom2: 1700×9999 Px
custom3: 1850×9999 Px
custom4: 2100×9999 Px
klein: 360×5999 Px
mittel: 720×5999 Px
riesig: 1139×5999 Px
riesig_2x: 2278×5999 Px
sow-carousel-default: 272×182 Px

(medium_large seems to be height 0?)

  • Without more information, which might be viewable from the PHP error logs, it's near impossible to tell with what's in your question. A theory could be that resizing all those images takes either more time, or more memory than your server can spare. Have you considered merging/replacing some of those image sizes? There are a lot of them, and it seems redundant – Tom J Nowell Dec 3 '18 at 21:39
  • @TomJNowell Sadly I have no clue where all those image sizes originate from... Though a few are from my theme, suppose I could delete them... – Consti P Dec 3 '18 at 22:08
  • @TomJNowell Also, Apache error_logs show nothing. On another notice, the service let's me change quite a bit of the Apache settings, however, all error pages indicate a nginx server... – Consti P Dec 3 '18 at 22:20
  • Look at the PHP error logs rather than Apache/Nginx instead – Tom J Nowell Dec 3 '18 at 22:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.