[wp-trac] [WordPress Trac] #31124: PHP unit tests fail with fatal error, imagecreatefrompng() not defined

WordPress Trac noreply at wordpress.org
Wed Feb 18 19:01:28 UTC 2015


#31124: PHP unit tests fail with fatal error, imagecreatefrompng() not defined
-------------------------------+--------------------
 Reporter:  iseulde            |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  4.2
Component:  Media              |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+--------------------
Changes (by boonebgorges):

 * keywords:   => reporter-feedback


Comment:

 Odd. You should only get that message if the PHP GD extension isn't
 installed. But the test suite should detect that it's not installed and
 skip the tests. So I'm not sure what's happening.

 Do you have GD installed? `$ php -i | grep "with\-gd"`

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


More information about the wp-trac mailing list