Opened 2 years ago
Closed 2 years ago
#6430 closed defect (bug) (duplicate)
Receiving HTTP Error 500 upon submitting an image
Reported by: | vatoyiit | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Photo Directory | Keywords: | |
Cc: |
Description
I am getting "This page isn’t working wordpress.org is currently unable to handle this request. HTTP ERROR 500" error when I try to submit an image.
I tried it on 2 different networks using Chrome on Mac. It looks like the submission works except for the attachment as it says "(unknown)" instead of the actual filename.
Change History (3)
#2
@
2 years ago
Just noting that the reason these failed to upload is because of a out-of-memory fatal error:
E_ERROR: Allowed memory size of 268435456 bytes exhausted (tried to allocate 96000000 bytes) in wp-includes/class-wp-image-editor.php:601
In that case, the uploaded image was 19M in size and it's trying to allocate another ~90MB on top of the already used 256M.. I can see another case where the uploaded image is ~3.5M and trying to allocate another ~80M on top of the 256M.
I tried uploading different photos using Firefox and Opera but the upload failed again.