Deprecated function: explode(): Passing null to parameter #2 ($string) of type string is deprecated in Drupal\file_mime_validator\Service\FileMimeValidator->getFileType()

Created on 5 July 2023, 12 months ago
Updated 9 August 2023, 11 months ago

Getting PHP 8.1 deprecation error - Deprecated function: explode(): Passing null to parameter #2 ($string) of type string is deprecated in Drupal\file_mime_validator\Service\FileMimeValidator->getFileType() (line 119 of /docroot/modules/contrib/file_mime_validator/src/Service/FileMimeValidator.php)

🐛 Bug report
Status

Closed: cannot reproduce

Version

2.0

Component

Code

Created by

🇮🇳India mahakjain

Live updates comments and jobs are added and updated live.
  • PHP 8.1

    The issue particularly affects sites running on PHP version 8.1.0 or later.

Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024