int(1) object(Database_Exception)#66 (7) { ["message":protected]=> string(373) "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 'PARAMS_DESC LIMIT 24 OFFSET 0' at line 1 [ SELECT `tyre`.* FROM `koleso_tyre` AS `tyre` WHERE `pid` = 1464 AND `availability` > 0 AND `amount` > 0 AND `vendor_id` IN ('202') AND `price` > 0 ORDER BY `price` PARAMS_DESC LIMIT 24 OFFSET 0 ]" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(1064) ["file":protected]=> string(86) "/var/www/vhosts/kolesopiter.ru/www/kohana/modules/database/classes/database/mysqli.php" ["line":protected]=> int(174) ["trace":"Exception":private]=> array(9) { [0]=> array(5) { ["file"]=> string(92) "/var/www/vhosts/kolesopiter.ru/www/kohana/modules/database/classes/kohana/database/query.php" ["line"]=> int(245) ["function"]=> string(5) "query" ["class"]=> string(15) "Database_MySQLi" ["type"]=> string(2) "->" } [1]=> array(5) { ["file"]=> string(76) "/var/www/vhosts/kolesopiter.ru/www/kohana/modules/orm/classes/kohana/orm.php" ["line"]=> int(964) ["function"]=> string(7) "execute" ["class"]=> string(21) "Kohana_Database_Query" ["type"]=> string(2) "->" } [2]=> array(5) { ["file"]=> string(76) "/var/www/vhosts/kolesopiter.ru/www/kohana/modules/orm/classes/kohana/orm.php" ["line"]=> int(923) ["function"]=> string(12) "_load_result" ["class"]=> string(10) "Kohana_ORM" ["type"]=> string(2) "->" } [3]=> array(5) { ["file"]=> string(82) "/var/www/vhosts/kolesopiter.ru/www/kohana/application/classes/controller/tyres.php" ["line"]=> int(677) ["function"]=> string(8) "find_all" ["class"]=> string(10) "Kohana_ORM" ["type"]=> string(2) "->" } [4]=> array(3) { ["function"]=> string(16) "action_index2016" ["class"]=> string(16) "Controller_Tyres" ["type"]=> string(2) "->" } [5]=> array(5) { ["file"]=> string(91) "/var/www/vhosts/kolesopiter.ru/www/kohana/system/classes/kohana/request/client/internal.php" ["line"]=> int(118) ["function"]=> string(6) "invoke" ["class"]=> string(16) "ReflectionMethod" ["type"]=> string(2) "->" } [6]=> array(5) { ["file"]=> string(82) "/var/www/vhosts/kolesopiter.ru/www/kohana/system/classes/kohana/request/client.php" ["line"]=> int(64) ["function"]=> string(15) "execute_request" ["class"]=> string(30) "Kohana_Request_Client_Internal" ["type"]=> string(2) "->" } [7]=> array(5) { ["file"]=> string(75) "/var/www/vhosts/kolesopiter.ru/www/kohana/system/classes/kohana/request.php" ["line"]=> int(1138) ["function"]=> string(7) "execute" ["class"]=> string(21) "Kohana_Request_Client" ["type"]=> string(2) "->" } [8]=> array(5) { ["file"]=> string(44) "/var/www/vhosts/kolesopiter.ru/www/index.php" ["line"]=> int(129) ["function"]=> string(7) "execute" ["class"]=> string(14) "Kohana_Request" ["type"]=> string(2) "->" } } ["previous":"Exception":private]=> NULL }