SQL Error: 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 'cat_position` = ?d)}{ AND (`cat_show` = ?d)} AND (`cat_deleted` = 0) ORDER BY `c' at line 1 at /home/aksu.pavlodar.gov.kz/public_html/module/ModuleMenu.php line 17
Array
(
    [code] => 1064
    [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 'cat_position` = ?d)}{ AND (`cat_show` = ?d)} AND (`cat_deleted` = 0) ORDER BY `c' at line 1
    [query] => SELECT * FROM `prefix_category` WHERE (`cat_parent = ?d){ AND (`cat_position` = ?d)}{ AND (`cat_show` = ?d)} AND (`cat_deleted` = 0) ORDER BY `cat_rang` DESC, `cat_id` ASC
    [context] => /home/aksu.pavlodar.gov.kz/public_html/module/ModuleMenu.php line 17
)