Drupal 8:实体和/或字段定义不匹配 [英] Drupal 8: Mismatched entity and/or field definitions

查看:206
本文介绍了Drupal 8:实体和/或字段定义不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

试图理解为什么我的视图不显示时,我在日志中注意到以下错误:

While trying to understand why my view is not displaying, I noticed the following error in the log:

我认为无法从分类法术语中删除URL别名。至少我找不到如何执行此操作。
,但是我经历了我所有的分类标准,并删除了该字段的值。

I do not think it is possible to delete the URL alias from Taxonomy terms. At least I cannot find how to do this. I have, however gone through ALL of my taxonomy terms and removed the value for this field.

我也使用Pathauto完成了以下操作:

I have also done the following with Pathauto:

此外,我已经检查了位于admin / reports / fields的报告,可以确认没有实体使用称为URL别名的字段。

Also, I have checked the report located at admin/reports/fields and can confirm that there are no entities that use a field called URL alias.

我仔细阅读了每个内容项,并确保它们具有以下设置(任何人都知道如何批量执行此操作吗?)。但是错误仍然存​​在。

I have gone through each content item and ensured that they have the following setting (anyone know how to do this in bulk?). But still the error remains.

有人知道我该如何解决这个奇怪的错误?

Anyone know then how I can fix this strange error?

推荐答案

我不完全确定此命令的作用,但是它修复了错误:

Im not entirely sure what this command does, but it fixed the error:

drush updb --entity-updates

这篇关于Drupal 8:实体和/或字段定义不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆