[wp-trac] [WordPress Trac] #36534: Media Upload Issue Since 4.5 Upgrade

WordPress Trac noreply at wordpress.org
Fri Apr 15 14:14:41 UTC 2016


#36534: Media Upload Issue Since 4.5 Upgrade
--------------------------+----------------------
 Reporter:  unicornbacon  |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Media         |     Version:  4.5
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by adamsilverstein):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Hi @unicornbacon thanks for the bug report (and awesome handle!)

 The error `Maximum execution time of 30 seconds exceeded` tells us that
 ''your web server has run out of time trying to process the images you are
 uploading''.  Increasing the
 [http://codex.wordpress.org/Common_WordPress_Errors#Maximum_execution_time_exceeded
 max execution time]  should solve your issue.

 As you may know, every time you upload an image to WordPress, the server
 resizes the upload into several sizes for use on the front end of the
 site. By default there are thumbnail (small), medium and large sizes and
 themes and plugins can add additional sizes.

 In WordPress 4.4 and 4.5 we have been changing and improving image
 handling with several goals including faster/small images for faster
 loads/less space on small image sizes, and new large sizes  to provide
 responsive image sizes (images that display well on hi def monitors, ie
 'retina'). These additional sizes and better compression mean more work on
 the server side when uploading.

 This is all my long way of saying image processing load has increased when
 uploading images in 4.5 - we are trying to do more with each image that is
 uploaded. The error you see you see is on a line of code calling
 `unsharpMaskImage` which sharpens up resized images. I don't think this is
 a core bug: your images are very large and are exceeding the capacity of
 WP 4.5 to handle them on your server.

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


More information about the wp-trac mailing list