#6430 closed defect (bug) (duplicate)

Receiving HTTP Error 500 upon submitting an image

Reported by: vatoyiit's profile vatoyiit Owned by:
Milestone: Priority: normal
Component: Photo Directory Keywords:


I am getting "This page isn’t working 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.

Here is the image I am trying to submit:

Change History (3)

#1 @vatoyiit
23 months ago

I tried uploading different photos using Firefox and Opera but the upload failed again.

#2 @dd32
23 months 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.

#3 @dd32
23 months ago

  • Resolution set to duplicate
  • Status changed from new to closed

Turns out this is tracked in #6142

Note: See TracTickets for help on using tickets.