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 ') and langid=2 order by xcorders' at line 1 select * from catalog_tree where cid=91 and xcid in () and langid=2 order by xcorders
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 ') order by xcorders' at line 1 select * from catalog_tree where cid=91 and langid=2 and xcorder>=0 and xcparent in (0,) order by xcorders