[wp-trac] [WordPress Trac] #64902: wp_save_image() fatal error when wp_save_image_file() returns WP_Error

WordPress Trac noreply at wordpress.org
Wed Apr 15 00:19:39 UTC 2026


#64902: wp_save_image() fatal error when wp_save_image_file() returns WP_Error
-------------------------------------+------------------------------
 Reporter:  notglossy                |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Media                    |     Version:  6.9.4
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------------

Comment (by aytor):

 I tested the bug on wordpress with environemnt:
 WordPress: 6.9.4
 PHP: 8.2
 Local WP

 The bug is not reproducing, I'm getting the message saying "Could not load
 the preview image. Please reload the page and try again." but is not
 allowing me to save it the button is grayed out.

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


More information about the wp-trac mailing list