[wp-trac] [WordPress Trac] #10613: Fatal Error if EXIF extension not loaded

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 14 12:46:25 UTC 2009


#10613: Fatal Error if EXIF extension not loaded
--------------------------+-------------------------------------------------
 Reporter:  hakre         |       Owner:             
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  2.9        
Component:  General       |     Version:  2.9        
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------
 if the php exif extension is not loaded, uploading an image throws a fatal
 error in  /wp-includes/media.php on line 388

 {{{
 Call Stack
 #       Time    Memory  Function        Location
 1       0.0006  83408   {main}( )       ..(null):0
 2       1.0135  22507080        media_handle_upload( string(12),
 string(3), ??? )       ..(null):43
 3       1.0366  22546024        wp_generate_attachment_metadata( long,
 string(66) )     ..(null):232
 4       1.0411  22547544        image_make_intermediate_size( string(66),
 string(3), string(3), string(1) )     ..(null):112
 5       1.0411  22547864        image_resize( string(66), string(3),
 string(3), string(1), ???, ???, ??? )      ..(null):437
 }}}

 this is current trunk. normally, this library is available, but some
 setups need you to manually enable it. since the component is used, it
 should be added to the checks wether or not the system has all components
 for wordpress.

 compared to other cases ( #6571 ) that time the error message was only
 suppressed. IMHO it's a pitty if you get no hint that you should enable
 that library to get more functionally. If the error message is suppressed,
 you get no such hint.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10613>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list