You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Using james-heinrich/getid3 on PHP8.1 triggers the following deprecation notice:
Deprecated function: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in getid3_jpg->CastAsAppropriate() (line 194 of [..]/vendor/james-heinrich/getid3/getid3/module.graphic.jpg.php)
This happens only for some images where the exif value for a certain keys has a value of null.
To Reproduce
Use PHP8.1
Expected behavior
Using PHP8.1 does not trigger a deprecation notice when the value for a certain exif key is null.
The text was updated successfully, but these errors were encountered:
Describe the bug
Using james-heinrich/getid3 on PHP8.1 triggers the following deprecation notice:
Deprecated function: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in getid3_jpg->CastAsAppropriate() (line 194 of [..]/vendor/james-heinrich/getid3/getid3/module.graphic.jpg.php)
This happens only for some images where the exif value for a certain keys has a value of null.
To Reproduce
Use PHP8.1
Expected behavior
Using PHP8.1 does not trigger a deprecation notice when the value for a certain exif key is null.
The text was updated successfully, but these errors were encountered: