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.
| Comment | File | Size | Author |
|---|---|---|---|
| export-view-og_user_groups.txt | 9.28 KB | Yuri |
Comments
Comment #1
dawehnerThis probably happens if you try to validate an anonymous user.
Commited a fix to 7.x-3.x and 6.x-3.x
Comment #3
lavisrap commentedI 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]
Comment #4
mototribe commentedIs there a patch I can apply against 7.x-3.0rc1?
thank you
Comment #5
mototribe commentednever 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.