我在使用drupal和swiftmailer发送电子邮件时遇到问题。当发送电子邮件时,会抛出此错误
The website encountered an unexpected error. Please try again later.</br></br><em class="placeholder">DrupalCoreEntityEntityStorageException</em>: The "swiftmailer" plugin does not exist. in <em class="placeholder">DrupalCoreEntitySqlSqlContentEntityStorage->save()</em> (line <em class="placeholder">829</em> of <em class="placeholder">core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php</em>). <pre class="backtrace">DrupalCorePluginDefaultPluginManager->getDefinition('swiftmailer') (Line: 16)
我正在运行drupal8.5和swiftmailer/swiftmailer的v4.4.10版本,以及drupal/swiftmailer 的1.0.0-beta-2版本
我最初有一个错误"class swift_message not found",当我通过composer更新包时,我得到了这个错误。
所以在我更新它之后,以前的一位同事从drupal UI中禁用了它,因此它不起作用。从drupal UI启用它使其工作。