[wp-trac] [WordPress Trac] #64902: wp_save_image() fatal error when wp_save_image_file() returns WP_Error
WordPress Trac
noreply at wordpress.org
Sun Apr 19 18:15:32 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 notglossy):
Yes, this is one of the symptoms on the front end since the whole process
fails because WP_Error is not an array and returns a 500 error.
Replying to [comment:3 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:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list