Can't execute query

SELECT * FROM travel_tw WHERE cateId in () and (available='1' or (available='0' and sdate <= '2017-11-21' AND edate >= '2017-11-21')) ORDER BY numbered

MySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') and (available='1' or (available='0' and sdate <= '2017-11-21' AND edate >= '2' at line 1

This script cannot continue, terminating.