Unknown column 'proid' in 'where clause'