【问题标题】:Dynamic Entity Reference - missing core key in info.yml动态实体参考 - info.yml 中缺少核心键
【发布时间】:2020-03-06 10:23:10
【问题描述】:

在 Drupal 8 站点上突然收到此错误:

>modules/contrib/dynamic_entity_reference/dynamic_entity_reference.info.yml 中缺少必需的键(核心)

这是一个核心模块(通过 docker 中的 composer 加载),所以我可以看到模块的 info.yml 文件,但即使手动添加密钥似乎也没有任何影响。

有没有其他人遇到过这个错误并且知道如何解决?

在此先感谢

composer.json 中的 Drupal 核心版本:

“drupal/core”:“8.7.1”,

info.yml 文件: /var/www/html/web/modules/contrib/dynamic_entity_reference/dynamic_entity_reference.info.yml:

type: module
description: 'Provides an entity reference field that can reference multiple entity types.'
package: Field types
core_version_requirement: ^8 || ^9
dependencies:
  - drupal:field
test_dependencies:
  - drupal:field_ui
  - drupal:language
  - drupal:locale
  - drupal:node
  - drupal:taxonomy

#Information added by Drupal.org packaging script on 2019-11-06
version: '8.x-2.0-alpha10'
project: 'dynamic_entity_reference'
datestamp: 1573073895

【问题讨论】:

    标签: drupal-8


    【解决方案1】:

    您安装的模块与 Drupal 8.8-alpha1 兼容。您需要安装与 Drupal 8.7.x 兼容的此模块的较低版本(2019 年 3 月 31 日发布的 8.x-1.7)。

    https://www.drupal.org/project/dynamic_entity_reference

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-11-20
      • 2020-05-24
      • 1970-01-01
      • 2017-07-02
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多