Method guess() from MimeTypeGuesser deprecated and removed form D10

Created on 17 January 2025, 7 days ago

Problem/Motivation

For D10 compatibility, update the method for guessing the mime type of images

Currently when I try to test it with the build in test of the mailjet_api module and chose to include a attachment, I see a HTT 500 with the following error:

The website encountered an unexpected error. Try again later.

Error: Call to undefined method Drupal\Core\ProxyClass\File\MimeType\MimeTypeGuesser::guess() in Drupal\mailjet_api\MailjetApiHandler->buildMessagesBody() (line 350 of modules/contrib/mailjet_api/src/MailjetApiHandler.php).

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024