Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi all,
I tested SMTP module on a website (core version 8.0.5), then I uninstalled it, but I cannot use the contact form anymore, 'cause I receive this error when I try to send the form:
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "" plugin does not exist. in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition()
I've already applied this patch for correct unistall: https://www.drupal.org/node/2653338#comment-10848258
Does anyone else run into this bug?
Comment | File | Size | Author |
---|---|---|---|
#4 | 0001-Issue-2698513-by-estoyausente-Error-The-plugin-does-.patch | 1.04 KB | estoyausente |
|
Comments
Comment #2
jacobgkau CreditAttribution: jacobgkau commentedYes, I am also running into this bug. Installing the module again did not seem to fix the issue as a workaround, either. I started having the issue on core version 8.0.5 and now I'm still experiencing it with core 8.0.6.
Comment #3
Noemi CreditAttribution: Noemi commentedI solved editing the system.mail configuration.
I think the unistall fails in restoring the default system mail. If you look at this config file (in admin/config/development/configuration/single/export) after unistalling SMTP module, you have "interface: null".
So I imported a correct configuration, replacing "null" with "interface: default: php_mail" (pay attention to .yml indentation) in admin/config/development/configuration/single/import, and that fixed it.
Hope it helps.
Comment #4
estoyausenteI could reproduce the error and I put php_mail as default system mail interface if doesn't exist any other saved in the smtp configuration. It resolves the problem, I don't know if exist any other way more correct.
php_mail is the system default mail defined in system.mail.yml.
Comment #5
asrobI've successfully uninstalled it via UI, that's why RTBC'ed.
Comment #6
wundo CreditAttribution: wundo at Chuva Inc. for Chuva Inc. commentedComment #8
wundo CreditAttribution: wundo at Chuva Inc. for Chuva Inc. commented