[wp-trac] [WordPress Trac] #36501: Fatal error: Undefined class constant 'ALPHACHANNEL_UNDEFINED'

WordPress Trac noreply at wordpress.org
Wed Apr 13 06:17:28 UTC 2016


#36501: Fatal error: Undefined class constant 'ALPHACHANNEL_UNDEFINED'
--------------------------+---------------------------
 Reporter:  gblsm         |       Owner:  mikeschroder
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.5.1
Component:  Media         |     Version:  4.5
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------------
Changes (by mikeschroder):

 * owner:   => mikeschroder
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37192"]:
 {{{
 #!CommitTicketReference repository="" revision="37192"
 Media: Resolve fatal error on resize with ImageMagick < 6.4.6

 Improper checking for 'Imagick::ALPHACHANNEL_UNDEFINED' and
 'Imagick::ALPHACHANNEL_OPAQUE' caused fatal errors for some users
 with Imagick when compiled against ImageMagick < 6.4.6, when these
 constants were introduced. Fixes these compatibility checks.

 Props gblsm.
 Fixes #36501.
 }}}

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


More information about the wp-trac mailing list