Error: SELECT * FROM gwt_subcontent WHERE (pagestatus = 1) AND (contentID=) ORDER BY orderlist ASC,subcontentID

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') ORDER BY orderlist ASC,subcontentID' at line 1