uploading a picture on localhost I keep receiving following error:
Post-processing of the image failed likely because the server is busy or does not have enough resources. stopping any upload, even the file is relatively small, few kb, 1290x720, or max 1980x1020 or similar.
tried the way to modify app/theme/theme_name/app/setup.php by adding
add_filter( ‘wp_image_editors’, function() { return array( ‘WP_Image_Editor_GD’ ); } );
with no success. still having same issue.
created a plugin with:
add_filter( 'big_image_size_threshold', '__return_false' );
but still nothing (MEDIA settings are capped to 9999 per each dimension)
any basic config am I missing?
ty and best! :smiley:
EDIT: PS: no way with the “official” plugin as well… +Image&type=any&search=
uploading a picture on localhost I keep receiving following error:
Post-processing of the image failed likely because the server is busy or does not have enough resources. stopping any upload, even the file is relatively small, few kb, 1290x720, or max 1980x1020 or similar.
tried the way to modify app/theme/theme_name/app/setup.php by adding
add_filter( ‘wp_image_editors’, function() { return array( ‘WP_Image_Editor_GD’ ); } );
with no success. still having same issue.
created a plugin with:
add_filter( 'big_image_size_threshold', '__return_false' );
but still nothing (MEDIA settings are capped to 9999 per each dimension)
any basic config am I missing?
ty and best! :smiley:
EDIT: PS: no way with the “official” plugin as well… https://wpackagist/search?q=BIG+Image&type=any&search=
Share Improve this question asked Nov 16, 2020 at 16:07 lyllolyllo 12 bronze badges 1- 1 The message isn't saying you can't upload big images, it's saying you uploaded a large image and the server stopped responding when the image was uploaded. It isn't a configuration problem or a settings problem. Check your PHP error log, it's likely your computer was too slow and it couldn't resize the images in the allotted time, or it ran out of memory. It could even be a fatal PHP error in an unrelated piece of code, the PHP error log will give you the actual error – Tom J Nowell ♦ Commented Nov 16, 2020 at 16:31
1 Answer
Reset to default 0the issue was connected to a standard too strict php.ini configuration.
to solve this, one has to update php.ini file setting to an higher
upload_max_file_size = 2M // something more
value.