[wp-trac] [WordPress Trac] #37853: HTTP error when uploading images

WordPress Trac noreply at wordpress.org
Thu Sep 8 13:18:06 UTC 2016


#37853: HTTP error when uploading images
----------------------------+------------------------
 Reporter:  cezariuszmarek  |       Owner:
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Media           |     Version:  4.6
 Severity:  normal          |  Resolution:  duplicate
 Keywords:                  |     Focuses:
----------------------------+------------------------

Comment (by cezariuszmarek):

 > Since the error is probably happening in the image processing library,
 PHP is not able to recover

 I don't know PHP, but isn't it possible to try-catch the error? And it you
 are able to display the "HTTP error" message, why can't you remove garbage
 from the database at the same time?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37853#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list