[wp-trac] [WordPress Trac] #64492: If admin session has timed out, uploading an image to media library incorrectly returns "Server cannot process this image" error, along with info about image sizes

WordPress Trac noreply at wordpress.org
Fri Jan 9 21:57:40 UTC 2026


#64492: If admin session has timed out, uploading an image to media library
incorrectly returns "Server cannot process this image" error, along with
info about image sizes
--------------------------+-----------------------------
 Reporter:  bluesix       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  6.9
 Severity:  minor         |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 In the backend, if a user session expires (cookie expires) whilst on the
 media library page, and a user tries to upload an image in the media
 library, the server returns the standard "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.
 Suggested maximum size is 2560 pixels." when it should either return
 authentication error-related text or kick the user out to the dashboard
 login page.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64492>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list