Mismatched entity and/or field definitions

By admin, 5 六月, 2019

内核升级不时遇到这个错误,下面是解决的办法:
https://www.drupal.org/project/file_entity/issues/3056070
https://www.drupal.org/project/file_entity/issues/2914935#comment-13110657

搜索key_value表的name=file.field_schema_data.type行,把blob里的not null值由1改为0
a:1:{s:12:"file_managed";a:2:{s:6:"fields";a:1:{s:4:"type";a:4:{s:11:"description";s:28:"The ID of the target entity.";s:4:"type";s:13:"varchar_ascii";s:6:"length";i:32;s:8:"not null";b:0;}}s:7:"indexes";a:1:{s:27:"file_field__type__target_id";a:1:{i:0;s:4:"type";}}}}

标签

评论

Restricted HTML

  • 允许的HTML标签:<a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <img src>
  • 自动断行和分段。
  • 网页和电子邮件地址自动转换为链接。
验证码
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
请输入"Drupal10"

最新评论