Error executing query: 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 '0 '>=' AND FLOOR(completion) 0 '2023') AND `t`.`active`='1' ORDER BY paid DESC, ' at line 1 SELECT SQL_CALC_FOUND_ROWS * FROM `building` as `t` WHERE ( FLOOR(completion) 0 '>=' AND FLOOR(completion) 0 '2023') AND `t`.`active`='1' ORDER BY paid DESC, (status = 'recomend') DESC, position ASC LIMIT 0, 12