I get the following error messages when trying to edit a MN entity:
Notice: Undefined variable: group in OgMongoNodeSelectionHandler->buildEntityFieldQuery() (line 157 of /srv/vhost07.cylex.local/http/sites/all/modules/contrib/mongo_node/modules/mongo_node_og/plugins/entityreference/selection/OgMongoNodeSelectionHandler.class.php).
EntityMetadataWrapperException: Invalid data value given. Be sure it matches the required data type and format. in EntityMetadataWrapper->set() (line 122 of /srv/vhost07.cylex.local/http/sites/all/modules/contrib/entity/includes/entity.wrapper.inc).
It is due to a typo in the code of MN's entityreference selection plugin.
$group
should be
$group_type
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 2484577-group-group_type-typo.patch | 1.23 KB | reszli |
Comments
Comment #1
reszlihere's the patch that works for me
Comment #3
mihai_brb commented