Hi,
on my site (under construction) with Entity API 7.x-1.2 all was ok.

Since I updated Entity API at the latest version 7.x-1.3 I receive this error:

Recoverable fatal error: Argument 2 passed to field_collection_item_access() must be an instance of FieldCollectionItemEntity, instance of stdClass given, called in /home/myaccount/domains/mydomain.it/public_html/sites/all/modules/entity/entity.module on line 654 and defined in field_collection_item_access() (linea 765 di /home/myaccount/domains/mydomain.it/public_html/sites/all/modules/field_collection/field_collection.module)

I tried another time the previous version 7.x-1.2 and it's all right.

Now I updated once again the latest version 7.x-1.3 and I receive the error above.

So I think that in the latest version there is a bug.

Can anybody help me, please?

Thanks
Bye

Comments

nikonvulcano’s picture

Assigned: nikonvulcano » Unassigned

Sorry the error pasted was incomplete.

Recoverable fatal error: Argument 2 passed to field_collection_item_access() must be an instance of FieldCollectionItemEntity, instance of stdClass given, called in /home/myaccount/domains/mydomain.it/public_html/sites/all/modules/entity/entity.module on line 654 and defined in field_collection_item_access() (linea 765 di /home/emozioni/domains/confrontalo.it/public_html/sites/all/modules/field_collection/field_collection.module)

nikonvulcano’s picture

anybody can help me?

thomas73’s picture

I have the same issue on a views page which displays field collection in a views field. Downgrading to entity-1.2 resolved the problem.