Error: Call to undefined method Drupal\Core\ProxyClass\File\MimeType\MimeTypeGuesser::guess() in Drupal\mailchimp_transactional\Plugi n\Mail\Mail->getAttachmentStruct() (line 280 of modules/contrib/mailchimp_transactional/src/Plugin/Mail/Mail.php

Created on 31 October 2023, about 1 year ago
Updated 2 November 2023, about 1 year ago

Problem/Motivation

The following error is thrown when sending the emails with mailchimp transactional
Error: Call to undefined method Drupal\Core\ProxyClass\File\MimeType\MimeTypeGuesser::guess() in Drupal\mailchimp_transactional\Plugin\Mail\Mail->getAttachmentStruct() (line 280 of modules/contrib/mailchimp_transactional/src/Plugin/Mail/Mail.php) #0 modules/contrib/mailchimp_transactional/src/Plugin/Mail/Mail.php(162): Drupal\mailchimp_transactional\Plugin\Mail\Mail->getAttachmentStruct()

Steps to reproduce

Proposed resolution

Patch to replace guess() with guessMimeType().
Reference: https://www.drupal.org/node/3126004

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India ramprassad

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

Comments & Activities

Production build 0.71.5 2024