object(PDOException)#11 (8) { ["message":protected]=> string(219) "SQLSTATE[42000]: Syntax error or access violation: 1064 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 v.grid != 0' at line 1" ["string":"Exception":private]=> string(0) "" ["code":protected]=> string(5) "42000" ["file":protected]=> string(63) "/var/www/eksion/data/www/eksion.ru/components/catalog/model.php" ["line":protected]=> int(697) ["trace":"Exception":private]=> array(5) { [0]=> array(6) { ["file"]=> string(63) "/var/www/eksion/data/www/eksion.ru/components/catalog/model.php" ["line"]=> int(697) ["function"]=> string(7) "prepare" ["class"]=> string(3) "PDO" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(147) "SELECT v.grid, m.mlink FROM eksion_models as m LEFT JOIN eksion_models_values as v ON m.id_value = v.id_value WHERE m.mlink IN ( ) AND v.grid != 0" } } [1]=> array(6) { ["file"]=> string(68) "/var/www/eksion/data/www/eksion.ru/components/catalog/controller.php" ["line"]=> int(98) ["function"]=> string(14) "getPropsFilter" ["class"]=> string(12) "CatalogModel" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> string(13) "hobbi-i-otdyh" [1]=> array(0) { } [2]=> bool(false) } } [2]=> array(6) { ["file"]=> string(51) "/var/www/eksion/data/www/eksion.ru/config/route.php" ["line"]=> int(94) ["function"]=> string(13) "showSubSubCat" ["class"]=> string(17) "CatalogController" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(2) { ["alias"]=> string(13) "hobbi-i-otdyh" ["alias2"]=> string(8) "ledobury" } } } [3]=> array(6) { ["file"]=> string(52) "/var/www/eksion/data/www/eksion.ru/config/config.php" ["line"]=> int(30) ["function"]=> string(10) "buildRoute" ["class"]=> string(7) "Routing" ["type"]=> string(2) "::" ["args"]=> array(2) { [0]=> object(DebugPDO)#4 (0) { } [1]=> bool(false) } } [4]=> array(4) { ["file"]=> string(44) "/var/www/eksion/data/www/eksion.ru/index.php" ["line"]=> int(4) ["args"]=> array(1) { [0]=> string(52) "/var/www/eksion/data/www/eksion.ru/config/config.php" } ["function"]=> string(12) "require_once" } } ["previous":"Exception":private]=> NULL ["errorInfo"]=> array(3) { [0]=> string(5) "42000" [1]=> int(1064) [2]=> string(163) "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 v.grid != 0' at line 1" } }