QUERY FAILED! Unknown column 'none' in 'WHERE'