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

WordPress Trac noreply at wordpress.org
Fri Apr 15 06:11:34 UTC 2016


#36534: Media Upload Issue Since 4.5 Upgrade
--------------------------+-----------------------------
 Reporter:  unicornbacon  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  4.5
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Here is my problem: Since I updated to 4.5 yesterday, I can't upload
 certain image files. Every time I try, I get an error stating:

 Fatal error: Maximum execution time of 30 seconds exceeded in
 /home2/scarlett/public_html/germany/wp-includes/class-wp-image-editor-
 imagick.php on line 358

 I finally figured out that the problem is with the photograph's
 dimensions. All of the photos that won't upload were rotated from
 landscape to portrait on import. Their dimensions are 3000x4000 rather
 than 4000x3000 like the photos that I can still upload. After trying to
 save the photos without their metadata, turning off all plugins, and
 various other edits and experiments, it turns out that for some reason I
 only get the "imagick"" error on the photos that have a dimension of
 3000x4000. Changing it to 2250x3000 (or anything less than 4000 for the
 height) allows me to upload them. I had no problem uploading files with
 this designation before I updated to 4.5. Everything else about the files
 is identical, and the file sizes do not conform to any kind of pattern and
 are not particularly large or small. As test, I tried to re-upload a photo
 that had this exact same ratio that I had uploaded successfully yesterday,
 and it would not upload today. This leads me to believe that there is
 something going on WP's end, since nothing has changed on the server side
 in the last 24 hours (and sadly my auto-backup was turned off somehow so
 now I am stuck with this).

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


More information about the wp-trac mailing list