select_row error Unknown column 'none' in 'where clause'