gpt4 book ai didi

drupal-7 - entity_extract_ids() 中的 EntityMalformedException : Missing bundle property on entity of type student.

转载 作者:行者123 更新时间:2023-12-02 09:12:14 26 4
gpt4 key购买 nike

我创建了名为“student”的简单模块,该模块生成的新实体是“student”这是我的代码 Download here

但是当我添加新学生时,我收到这样的错误消息:

EntityMalformedException: Missing bundle property on entity of type student. in entity_extract_ids() (line 7501 of C:\AppServ\www\drupal-7.12\includes\common.inc).

我查看了所有代码,但找不到一些东西,非常感谢!

最佳答案

此问题 - ' Missing bundle property on entity of type file error ' - 可能是导致你的问题的原因。快速检查以确认这一点是按照 comment #5 中采取的步骤操作。 ,复制如下:

I have the same issue which is obviously caused by a missing entity-type-property in an entity-object. I took a look into my database and discovered that the table "file_managed" has a field "type". I filled in the type of the entity object in question and it works. Obviously this is not a real solution (updating the database manually), because there exist hundreds of entries...

关于drupal-7 - entity_extract_ids() 中的 EntityMalformedException : Missing bundle property on entity of type student.,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10756618/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com