WordPress.org

Make WordPress Core

#22073 closed defect (bug) (fixed)

Fatal error in WP_Image_Editor_Imagick

Reported by: SergeyBiryukov Owned by: nacin
Milestone: 3.5 Priority: highest omg bbq
Severity: blocker Version: 3.5
Component: Media Keywords: has-patch
Focuses: Cc:

Description

Since [22094], there's a fatal error on every screen (including front end) in PHP 5.2.14:

Fatal error: Declaration of WP_Image_Editor_Imagick::supports_mime_type() must be compatible with that of WP_Image_Editor::supports_mime_type() in wp-includes\class-wp-image-editor-imagick.php on line 410

Attachments (1)

22073.patch (505 bytes) - added by SergeyBiryukov 19 months ago.

Download all attachments as: .zip

Change History (4)

comment:1 scribu19 months ago

  • Cc scribu added

SergeyBiryukov19 months ago

comment:2 SergeyBiryukov19 months ago

  • Keywords has-patch added

comment:3 nacin19 months ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In [22098]:

Don't declare the argument as optional for WP_Image_Editor_Imagick::supports_mime_type(), avoiding an error with inheritance. props SergeyBiryukov, fixes #22073.

Note: See TracTickets for help on using tickets.