I have two groups that I want to delete, but when I try to delete either one I get this error (note I modified the path name):

SQL Query
Script: .../xxx/public_html/xxx/admin/dogroupmanage.php
Line#: 81
SQL Error: Unknown column 'uid' in 'where clause'
SQL Error #: 1054
Query: select USER_ID as uid from ubbt_USER_GROUPS where GROUP_ID = 7 and USER_ID = (select distinct USER_ID from ubbt_USER_GROUPS where GROUP_ID <> 7 and USER_ID = uid)