Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#41496 closed defect (bug) (fixed)

Media Upload getid3 fatal errors on PHP7

Reported by: mythemeshop's profile MyThemeShop Owned by: wonderboymusic's profile wonderboymusic
Milestone: 4.9 Priority: normal
Severity: normal Version: 4.9
Component: Media Keywords:
Focuses: Cc:



When uploading mp3 file ( ) on PHP 7.1.1, getid3 is throwing fatal error - [] operator not supported for strings.

Not sure if whole getid3 library should be updated but we have added this commit - in attached patch fixing just those errors.

Attachments (2)

getid3_erors.diff (103.2 KB) - added by MyThemeShop 7 years ago.
41496.diff (269.2 KB) - added by wonderboymusic 7 years ago.

Download all attachments as: .zip

Change History (5)

#1 @wonderboymusic
7 years ago

  • Milestone changed from Awaiting Review to 4.9
  • Owner set to wonderboymusic
  • Status changed from new to assigned

7 years ago

#2 @wonderboymusic
7 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 41196:

Media: update the getID3 library to version 1.9.14 to avoid fatal errors in PHP7.

Props MyThemeShop for the initial patch.
Fixes #41496.

#3 @SergeyBiryukov
7 years ago

#41568 was marked as a duplicate.

Note: See TracTickets for help on using tickets.