array(2) { [0]=> string(114) "select * from category as t1 where t1.parentid = and ((t1.count + t1.count_a)>0 or t1.status=3) order by NAME ASC" [1]=> object(mysqli_sql_exception)#4 (8) { ["message":protected]=> string(212) "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 ((t1.count + t1.count_a)>0 or t1.status=3) order by NAME ASC' at line 1" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(1064) ["file":protected]=> string(68) "/var/www/sites/sdl/receptyotkulinara.ru/includes/mysql_functions.php" ["line":protected]=> int(30) ["trace":"Exception":private]=> array(3) { [0]=> array(3) { ["file"]=> string(68) "/var/www/sites/sdl/receptyotkulinara.ru/includes/mysql_functions.php" ["line"]=> int(30) ["function"]=> string(12) "mysqli_query" } [1]=> array(3) { ["file"]=> string(70) "/var/www/sites/sdl/receptyotkulinara.ru/includes/class/information.php" ["line"]=> int(182) ["function"]=> string(1) "q" } [2]=> array(5) { ["file"]=> string(49) "/var/www/sites/sdl/receptyotkulinara.ru/index.php" ["line"]=> int(28) ["function"]=> string(8) "get_data" ["class"]=> string(11) "information" ["type"]=> string(2) "->" } } ["previous":"Exception":private]=> NULL ["sqlstate":protected]=> string(5) "42000" } }