MDB2 Error: syntax error: _doQuery: [Error message: Could not execute statement] [Last executed query: SELECT as cid,, al.path, AS category_name, AS category_subtitle, AS category_text, c.picture FROM cx_catalog_category c LEFT JOIN cx_mlc m1 ON c.name_mlc_id = LEFT JOIN cx_mlc m2 ON c.subtitle_mlc_id = LEFT JOIN cx_mlc m3 ON c.text_mlc_id = LEFT JOIN cx_alias al ON ( = al.sid AND al.stable = 'cx_catalog_category') WHERE = AND = 'y' LIMIT 1] [Native code: 1064] [Native message: 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 = 'y' LIMIT 1' at line 8]