error essentially says variable $node not set line 211 of user_relationship_node_access.module

can be suppressed by changing line 211 from

$is_group_post = module_exists('og') && og_is_group_content_type('node', $node->type);
$is_group_post = module_exists('og') && isset($node) && og_is_group_content_type('node', $node->type);

but ideally the function could use a conditional or be split into multiple functions (probably preferable) as this section of code is unnecessary on account pages.


Simon Georges’s picture

Version: 7.x-1.0-alpha4 » 7.x-1.x-dev
Status: Needs work » Active