Active
Project:
Entity reference
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Mar 2022 at 18:42 UTC
Updated:
24 Mar 2022 at 10:07 UTC
Jump to comment: Most recent
Warning: Illegal offset type in EntityReferenceBehavior_TaxonomyIndex->buildNodeIndex() (line 112 of /Users/halmiyasin/Sites/devdesktop/swans/sites/all/modules/entityreference/plugins/behavior/EntityReferenceBehavior_TaxonomyIndex.class.php).
found in both 7.x-1.5 and 7.x-1.x-dev.
programatically add a node with entityreference to term, eg...
$node->field_reference_term[$node->language][]['target_id'] = $tid;
Comments
Comment #2
halmsx commentedComment #3
JvE commentedThe entityreference module is not compatible with PHP => 7.4