Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#22073 closed defect (bug) (fixed)

Fatal error in WP_Image_Editor_Imagick

Reported by: sergeybiryukov's profile SergeyBiryukov Owned by: nacin's profile 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 12 years ago.

Download all attachments as: .zip

Change History (4)

#1 @scribu
12 years ago

  • Cc scribu added

#2 @SergeyBiryukov
12 years ago

  • Keywords has-patch added

#3 @nacin
12 years 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.