SELECT SQL_CALC_FOUND_ROWS * FROM item LEFT JOIN itemColor USING (no) WHERE state < 60 AND (cstate IS NULL OR cstate < 60) AND (img IS NULL OR img > 0) AND tag LIKE :tag ORDER BY ( SELECT node FROM category WHERE category.no = item.cat), `order` ASC, `corder` ASC LIMIT 0,30
SQLSTATE[42000]: Syntax error or access violation: 1064 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 ':tag ORDER BY ( SELECT node FROM category WHERE category.no = item.cat), `o...' at line 3ERROR!