SQL Error: SELECT * FROM project WHERE `id` = (SELECT `id` FROM `project` WHERE `active` = 1 AND `weight` > ORDER BY `weight` ASC LIMIT 1)
Array
(
    [0] => 42000
    [1] => 1064
    [2] => 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 'ORDER BY `weight` ASC LIMIT 1)' at line 1
)