php - 德鲁巴 8 : How do i fix the irritating error message "Unable to install advertisement, already exist in active configuration"?

标签 php drupal-modules drupal-8

我是 Drupal 编程的新手,但遇到了一些问题。 每次我卸载一个模块,然后我想重新安装它。

我收到此错误消息:

Unable to install advertisement, core.entity_form_display.node.advertisement.default, core.entity_view_display.node.advertisement.default, core.entity_view_display.node.advertisement.teaser, field.field.node.advertisement.body, node.type.advertisement already exist in active configuration.

我已经做了什么?

  • 使用 drush cache-clear/cache-rebuild 无结果
  • In drupal self cache-clear 无结果
  • 甚至放弃了 drupal 数据库/(它可以工作,但每次都这样做有点烦人。)结果,但工作量很大

所以我想我知道问题出在哪里(数据库表),但我该如何快速轻松地修复它?

最佳答案

你也可以使用 Drush

drush config-delete module_name.settings

关于php - 德鲁巴 8 : How do i fix the irritating error message "Unable to install advertisement, already exist in active configuration"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34898955/

相关文章:

php - 如何从查询中获取节点

php - 如何让Nginx使用替代的PHP版本?

javascript - 使用替代 id 和名称以 PHP 形式生成附加行

php - 显示 IP 地址的 Drupal 8 自定义 block 模块的缓存问题

PHP 读取 UTF-8 CSV

css - Drupal 8 样式表无法呈现

php - 自 PHP 7.0.0 起不推荐使用 password_hash?

php - 密码 : command not found

Drupal 8 Organic Groups 替代方案?

javascript - 从 drupal 调用 JS 文件中的函数