子主题 (bootstrap) 将 Drupal 7 迁移到 8
Subtheme (bootstrap) migrate Drupal 7 to 8
我找不到任何文档来将我的 drupal 7 子主题迁移到 drupal 8。我迁移了,但每次迁移时,我的 UI 都坏了,如果我尝试在 Drupal 8 上安装 bootstrap我得到:
Drupal\Core\Config\PreExistingConfigException: Configuration objects (bootstrap.settings) provided by bootstrap already exist in active configuration in Drupal\Core\Config\PreExistingConfigException::create() (line 65 of core/lib/Drupal/Core/Config/PreExistingConfigException.php).
感谢任何帮助。谢谢。
重新安装前删除配置对象Bootstrap
这个配置对象,即 bootstrap.settings 可能存在,因为它从您上次安装 bootstrap 时就一直存在。因此,您必须在再次安装 bootstrap 之前删除此配置对象。
如果你有 drush 版本 8,试试这个命令:
drush config-delete bootstrap.settings
然后尝试重新安装 bootstrap。
这绝对有效。
我找不到任何文档来将我的 drupal 7 子主题迁移到 drupal 8。我迁移了,但每次迁移时,我的 UI 都坏了,如果我尝试在 Drupal 8 上安装 bootstrap我得到:
Drupal\Core\Config\PreExistingConfigException: Configuration objects (bootstrap.settings) provided by bootstrap already exist in active configuration in Drupal\Core\Config\PreExistingConfigException::create() (line 65 of core/lib/Drupal/Core/Config/PreExistingConfigException.php).
感谢任何帮助。谢谢。
重新安装前删除配置对象Bootstrap
这个配置对象,即 bootstrap.settings 可能存在,因为它从您上次安装 bootstrap 时就一直存在。因此,您必须在再次安装 bootstrap 之前删除此配置对象。
如果你有 drush 版本 8,试试这个命令:
drush config-delete bootstrap.settings
然后尝试重新安装 bootstrap。
这绝对有效。