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

CommentFileSizeAuthor
#1 2484577-group-group_type-typo.patch1.23 KBreszli

Comments

reszli’s picture

StatusFileSize
new1.23 KB

here's the patch that works for me

  • vladady committed 547145a on 7.x-1.x authored by reszli
    Issue #2484577 by reszli: Undefined variable: group in...
mihai_brb’s picture

Status: Active » Closed (fixed)