This repository has been archived by the owner on May 9, 2024. It is now read-only.
Media Library uploads throwing 'server cannot process the image' errors #329
Labels
question
Further information is requested
Troubleshooting
Describe your question
Very new to docker & wp local docker so perhaps there's an easy solution just overlooked... but both me and my counterpart are experiencing same issue.
Upon trying to upload any image files over 1mb into Media Library, we keep getting message: "The server cannot process the image. This can happen if the server is busy or does not have enough resources to complete the task. Uploading a smaller image may help."
So first thing I did was edit the docker-php-ext-xdebug.ini file to:
upload_max_filesize = 32M
post_max_size = 64M
memory_limit = 256M
max_execution_time = 300
max_input_time = 300
Okay, cool, now when I view Wordpress site health media handling and server settings I see changes went into effect:
So that all looks good now, yet still get error message for anything over 1mb, whereas anything less uploads fine.
Some other things I tried unsuccessfully:
Code of Conduct
The text was updated successfully, but these errors were encountered: