Symptom in Wordpress when uploading media: Uploading a smaller image may help. Suggested maximum size is 2500 pixels.
In browser console: wp-admin/async-upload.php 502
This gave a hint: server may be lacking memory -> consider switching to a bigger droplet (currently 1MB).
Quick fix of addig define( 'WP_MEMORY_LIMIT', '128MB' ); to wp-config.php seemed to help on certain occasions but if it's a shortage in the server then it won't help.
Symptom in Wordpress when uploading media:
Uploading a smaller image may help. Suggested maximum size is 2500 pixels.
In browser console:
wp-admin/async-upload.php 502
This gave a hint: server may be lacking memory -> consider switching to a bigger droplet (currently 1MB).
Quick fix of addig
define( 'WP_MEMORY_LIMIT', '128MB' );
towp-config.php
seemed to help on certain occasions but if it's a shortage in the server then it won't help.