Всё сломалось!

Класс: DB

engine::run(); 4
engine::runComp("catcontent"); 255
catcontent::run(); 161
DB::execSQL("SELECT cat_common_props.item_id, cat_common_props.title, cat_common_props.url FROM cat_sect_tree LEFT JOIN cat_common_props ON cat_sect_tree.sect_id=cat_common_props.item_id WHERE lkey<= AND rkey>= ORDER BY lkey ASC"); 712

SELECT cat_common_props.item_id, cat_common_props.title, cat_common_props.url FROM cat_sect_tree LEFT JOIN cat_common_props ON cat_sect_tree.sect_id=cat_common_props.item_id WHERE lkey<= AND rkey>= ORDER BY lkey ASC
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 rkey>= ORDER BY lkey ASC' at line 7