Only happens for anonymous user.

Offending line of code....

if (user_is_anonymous() && entity_claim_add_access($type, $entity_wrapper->getIdentifier())) {
EntityMetadataWrapperException: Invalid data value given. Be sure it matches the required data type and format. Value at : 325. in EntityMetadataWrapper->set() (line 122 of /sites/all/modules/entity/includes/entity.wrapper.inc).

Comments

monstrfolk created an issue. See original summary.

monstrfolk’s picture

Issue summary: View changes
monstrfolk’s picture

Have a chance to look at this fix?

  • miteshmap committed ed502ba on 7.x-1.x authored by monstrfolk
    Issue #2801535 by monstrfolk: EntityMetadataWrapperException in entity...
miteshmap’s picture

Status: Needs review » Fixed

Thanks For the patch @mostrfolk :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.