Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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);
to
$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.
Comments
Comment #1
Simon Georges CreditAttribution: Simon Georges commented