The view OG User Groups (og_user_groups) shows this error message, when either the page or block is shown:

Notice: Undefined property: stdClass::$name in views_plugin_argument_validate_user->validate_argument() (line 121 of /home/commkick/public_html/profiles/commerce_kickstart/modules/views/modules/user/views_plugin_argument_validate_user.inc).

see attached the exported view.

CommentFileSizeAuthor
export-view-og_user_groups.txt9.28 KBYuri

Comments

dawehner’s picture

Status: Active » Fixed

This probably happens if you try to validate an anonymous user.

Commited a fix to 7.x-3.x and 6.x-3.x

Status: Fixed » Closed (fixed)

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

lavisrap’s picture

I got rid of the problem by setting the Access parameter in the page display setting of OG User Groups view to "Role | [a group type]"

PAGE SETTINGS:

Path: ...
Menu: ...
Access: Role | [a group type]

mototribe’s picture

Is there a patch I can apply against 7.x-3.0rc1?

thank you

mototribe’s picture

never mind, I had mis-configured a view to show a user profile block and used "userid from logged in user". When the anonymous user was viewing the page it threw the error.