When the module is enabled and visit the group content node page, we get following error:

Fatal error: Call to undefined method EntityValueWrapper::getBundle() in XXX/sites/all/modules/contrib/og/og.module on line 1816

After tracking down it seems to problem with $user_group_roles = og_workflow_user_roles_for_entity($node, $account) which should be changed to
$user_group_roles = og_workflow_user_roles_for_entity('node', $node, $account) in og_workflow_access_node_access function.

Comments

Sagar Ramgade created an issue. See original summary.

sagar ramgade’s picture

Assigned: sagar ramgade » Unassigned
Status: Active » Needs review
StatusFileSize
new705 bytes

Patch resolves this.

  • Sagar Ramgade committed 4118100 on 7.x-2.x
    Issue #2828499 by Sagar Ramgade: Fatal error: Call to undefined method...
sagar ramgade’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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