When visiting a group's members link (og/users/GID) I get the following errors:
* user warning: Column 'uid' in field list is ambiguous query: SELECT COUNT(*) FROM (SELECT uid FROM users users LEFT JOIN og_uid og_uid ON users.uid = og_uid.uid LEFT JOIN node node_og_uid ON og_uid.nid = node_og_uid.nid WHERE (users.status <> 0) AND (og_uid.nid = 6) ) count_alias in /Applications/MAMP/htdocs/MYSITE/sites/all/modules/views/includes/view.inc on line 705.
* user warning: Column 'uid' in field list is ambiguous query: SELECT uid, users.name AS users_name, og_uid.is_active AS og_uid_is_active, og_uid.uid AS og_uid_uid, og_uid.nid AS og_uid_nid, og_uid.is_admin AS og_uid_is_admin FROM users users LEFT JOIN og_uid og_uid ON users.uid = og_uid.uid LEFT JOIN node node_og_uid ON og_uid.nid = node_og_uid.nid WHERE (users.status <> 0) AND (og_uid.nid = 6) ORDER BY og_uid_is_admin DESC, og_uid_is_active ASC, users_name ASC LIMIT 0, 90 in /Applications/MAMP/htdocs/MYSITE/sites/all/modules/views/includes/view.inc on line 731.
I'm using Organic groups HEAD (2009-Mar-27) with D6.10. Would more info about my installation be helpful?
Comments
Comment #1
technivant commentedI had this same error. When I reverted to Views 6.x-2.3 from 6.x-2.x-dev it disappeared.
Comment #2
TyraelTLK commentedSame problem with Views 6.x-2.4.
Comment #3
RAFA3L commentedSame here with Views 6.x-2.4
Comment #4
highvoltage commentedSame here, latest organic groups and views.
Screenshot of my error:
http://img207.imageshack.us/img207/9651/error03.png
Comment #5
giacomo lozito commentedI can confirm the issue with drupal-6.10, og-6.x-1.2 and views-6.x-2.4, my website uses a PostgreSQL database. The issue doesn't appear with views-6.x-2.3 in combination with other elements.
PostgreSQL won't provide the group user list if that warning is issued (the query will fail).
Comment #6
cletusalphonse commentedSame, Subscribing.
Comment #7
moshe weitzman commentedCommitted to both new branches - 6--1 and 6--2 branches. HEAD is no longer in use.
Comment #9
PEpe commentedI have slightly different error message, but solution is same in my opinion:
1) Go to Site building->Views and Edit view named "og_members"
2) Click on field "(Group) Organic groups: OG: Is the group manager"
3) From "Relationship" select list select "Group"
4) Save, save, save
5) go on beer with me :-)
EDIT: upsss, sorry, still not working perfect, I'm going to find something more
Comment #10
un11imig commentedI have the same problem.
Comment #11
un11imig commentedThis solves my problem.
Thanks!