我在使用drupal和swiftmailer发送电子邮件时遇到了问题。当发送电子邮件时,会抛出此错误
The website encountered an unexpected error. Please try again later.</br></br><em class="placeholder">Drupal\Core\Entity\EntityStorageException</em>: The "swiftmailer" plugin does not exist. in <em class="placeholder">Drupal\Core\Entity\Sql\SqlContentEntityStorage->save()</em> (line <em class="placeholder">829</em> of <em class="placeholder">core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php</em>). <pre class="backtrace">Drupal\Core\Plugin\DefaultPluginManager->getDefinition('swiftmailer') (Line: 16)我运行的是swiftmailer/swiftmailer的Drupal8.5和v5.4.10,以及drupal/swiftmailer的1.0.0-beta-2
我最初有一个“类swift_message未找到”的错误,当我通过composer更新包时,我得到了这个错误。
发布于 2018-12-14 03:45:01
所以在我更新它之后,以前的一个同事在drupal UI中禁用了它,这就是为什么它不能工作的原因。在drupal UI中启用它可以使其正常工作。
https://stackoverflow.com/questions/53751895
复制相似问题