【发布时间】: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