I am not sure why I get this error. The only one who gets it is the admin, so I am guessing it has something to do with the current permission settings, but I thought I should let you know it exists.

"Notice: Undefined property: stdClass::$user_relationship_node_access in user_relationsihp_node_access_update_node() (line 234 of /home1/frienek5/public_html/modules/user_relationships/user_relationship_node_access/user_relationship_node_access.module)."

I have attached a SS. This happens when trying to add new content.

CommentFileSizeAuthor
#1 fix_node_access_notice.patch1.2 KBberdir
UR error.jpg114.81 KBhaebooty

Comments

berdir’s picture

Status: Active » Needs review
StatusFileSize
new1.2 KB

Try the attached patch, that should fix this.

BenK’s picture

I can help with testing this, but so far I can't reproduce the error. Thoughts?

berdir’s picture

Not 100% sure, it could happen if you edit a node that does not have any UR-NA settings. Eventually a node that was created when UR-NA was not enabled at all.

BenK’s picture

@haebooty: Can you try Berdir's patch so that we can close out this issue?

berdir’s picture

Status: Needs review » Fixed

Commited, please create new issues if you encounter more notices or other problems.

Status: Fixed » Closed (fixed)

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