Unknown column 'status_lrn' in 'where clause'