首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >swiftmailer插件不存在

swiftmailer插件不存在
EN

Stack Overflow用户
提问于 2018-12-13 05:48:56
回答 1查看 116关注 0票数 0

我在使用drupal和swiftmailer发送电子邮件时遇到了问题。当发送电子邮件时,会抛出此错误

代码语言:javascript
复制
The website encountered an unexpected error. Please try again later.</br></br><em class="placeholder">Drupal\Core\Entity\EntityStorageException</em>: The &quot;swiftmailer&quot; plugin does not exist. in <em class="placeholder">Drupal\Core\Entity\Sql\SqlContentEntityStorage-&gt;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-&gt;getDefinition(&#039;swiftmailer&#039;) (Line: 16)

我运行的是swiftmailer/swiftmailer的Drupal8.5和v5.4.10,以及drupal/swiftmailer的1.0.0-beta-2

我最初有一个“类swift_message未找到”的错误,当我通过composer更新包时,我得到了这个错误。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-12-14 03:45:01

所以在我更新它之后,以前的一个同事在drupal UI中禁用了它,这就是为什么它不能工作的原因。在drupal UI中启用它可以使其正常工作。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/53751895

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档