Unknown column 'function.in' in 'where clause'