Unknown column 'invite' in 'where clause'