[wp-trac] [WordPress Trac] #59147: Big image incorrectly triggers for small image

WordPress Trac noreply at wordpress.org
Sun Aug 20 00:21:56 UTC 2023


#59147: Big image incorrectly triggers for small image
--------------------------+------------------------------
 Reporter:  p00ya         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by p00ya):

 Looking at the code, I now think the error message is actually a red
 herring.  The async-upload.php POST (upload-attachment action) returns a
 500 and a generic "There has been a critical error on this website."
 response, which is then shown as the "The server cannot process the
 image." message.

 I'm investigating the root cause, but the poor errors here (even with
 `WP_DEBUG` on) make it hard to trace.

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


More information about the wp-trac mailing list