[wp-trac] [WordPress Trac] #63152: Multi-file Uploader Triggers AVIF Upload Error Despite GD Support – WP_Image_Editor_Imagick Interference

WordPress Trac noreply at wordpress.org
Sun Mar 23 20:14:43 UTC 2025


#63152: Multi-file Uploader Triggers AVIF Upload Error Despite GD Support –
WP_Image_Editor_Imagick Interference
--------------------------+------------------------------
 Reporter:  CyberCr33p    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  6.7.2
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by CyberCr33p):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 In the end, the problem was due to Redis caching the result of the image
 editor selection. The call:

 {{{#!php
 wp_cache_set( 'wp_image_editor_choose', $editors, 'image_editor',
 DAY_IN_SECONDS );
 }}}

 had stored WP_Image_Editor_Imagick in the cache. Once I flushed the Redis
 cache, WordPress re-evaluated the selection and cached WP_Image_Editor_GD
 instead.

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


More information about the wp-trac mailing list