- Issue created by @mvonfrie
- Status changed to Postponed: needs info
4 days ago 7:45am 25 January 2025 - 🇬🇧United Kingdom adamps
I'm confused. It seems that you have a site without configuration for mail plugin instances and you are calling
getInstance()
then complaining that it fails😃. I suggest you should either configure the instances or prevent the call.Therefore, the MailManagerReplacement should override getInstance() and return the correct instance which must be an implementation of Drupal\Core\Mail\MailInterface.
But how could we do that? This module has no information about what would be a correct instance of a mail plugin.