Invalid query: SELECT id, name FROM new_category WHERE id='2' AND deleted='0' ORDER BY id