Notice: Trying to get property of non-object in entity_metadata_no_hook_node_access() (line 615 of H:\wamp\www\drop_job_dev\profiles\drop_jobs\modules\contrib\entity\modules\callbacks.inc).
Notice: Trying to get property of non-object in entity_metadata_no_hook_node_access() (line 616 of H:\wamp\www\drop_job_dev\profiles\drop_jobs\modules\contrib\entity\modules\callbacks.inc).
Notice: Trying to get property of non-object in entity_metadata_no_hook_node_access() (line 616 of H:\wamp\www\drop_job_dev\profiles\drop_jobs\modules\contrib\entity\modules\callbacks.inc).
Comments
Comment #1
bojanz commentedThis is an Entity API issue. See #1780646: entity_access() fails to check node type specific create access.
Comment #2
kaizerking commentedok thanks i have applied the patch,
but when i want to use inline entity form for field collection.I am getting this error.
Recoverable fatal error: Argument 2 passed to field_collection_item_access() must be an instance of FieldCollectionItemEntity, string given, called in H:\wamp\www\drop_job_dev\profiles\drop_jobs\modules\contrib\entity\entity.module on line 553 and defined in field_collection_item_access() (line 765 of H:\wamp\www\drop_job_dev\profiles\drop_jobs\modules\contrib\field_collection\field_collection.module).
Comment #3
bojanz commentedYou can open a new issue for that.
We don't have field collection integration, is that maybe in their module?
Comment #4
kaizerking commentedThis error occurs only when i am enabling inline entity form disabling this module removes error,
I also have raised this issue que you referred,May be this is related to the patch which was provided there.
I thought, since it is a continuation of the original issue may be it is related.
I will open a separate issue,