object(Bitrix\Main\DB\SqlQueryException)#814 (9) {
["query":protected]=>
string(609) "SELECT
`brand5m`.`id` AS `id`,
`brand5m`.`oem` AS `oem`,
`brand5m`.`oem_clean` AS `oem_clean`,
`brand5m`.`name` AS `name`,
`brand5m`.`available` AS `available`,
`brand5m`.`quantity` AS `quantity`,
`brand5m`.`picture` AS `picture`,
`brand5m`.`props` AS `props`,
`brand5m`.`price` AS `price`,
`brand5m`.`discount` AS `discount`,
`brand5m`.`price_data` AS `price_data`,
`brand5m`.`catalog_id` AS `catalog_id`,
`brand5m`.`detail_url` AS `detail_url`,
`brand5m`.`source` AS `source`,
`brand5m`.`sort` AS `sort`
FROM `partner_brands_5m` `brand5m`
ORDER BY `sort` ASC, `available` DESC
LIMIT 0, 50
"
["databaseMessage":protected]=>
string(56) "(1054) Unknown column 'brand5m.discount' in 'field list'"
["message":protected]=>
string(75) "Mysql query error: (1054) Unknown column 'brand5m.discount' in 'field list'"
["string":"Exception":private]=>
string(0) ""
["code":protected]=>
int(400)
["file":protected]=>
string(64) "/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php"
["line":protected]=>
int(137)
["trace":"Exception":private]=>
array(20) {
[0]=>
array(5) {
["file"]=>
string(58) "/home/bitrix/www/bitrix/modules/main/lib/db/connection.php"
["line"]=>
int(330)
["function"]=>
string(13) "queryInternal"
["class"]=>
string(31) "Bitrix\Main\DB\MysqliConnection"
["type"]=>
string(2) "->"
}
[1]=>
array(5) {
["file"]=>
string(60) "/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php"
["line"]=>
int(3222)
["function"]=>
string(5) "query"
["class"]=>
string(25) "Bitrix\Main\DB\Connection"
["type"]=>
string(2) "->"
}
[2]=>
array(5) {
["file"]=>
string(60) "/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php"
["line"]=>
int(810)
["function"]=>
string(5) "query"
["class"]=>
string(27) "Bitrix\Main\ORM\Query\Query"
["type"]=>
string(2) "->"
}
[3]=>
array(5) {
["file"]=>
string(65) "/home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php"
["line"]=>
int(501)
["function"]=>
string(4) "exec"
["class"]=>
string(27) "Bitrix\Main\ORM\Query\Query"
["type"]=>
string(2) "->"
}
[4]=>
array(5) {
["file"]=>
string(66) "/home/bitrix/www/bitrix/components/partner/brand.section/class.php"
["line"]=>
int(264)
["function"]=>
string(7) "getList"
["class"]=>
string(32) "Bitrix\Main\ORM\Data\DataManager"
["type"]=>
string(2) "::"
}
[5]=>
array(5) {
["file"]=>
string(66) "/home/bitrix/www/bitrix/components/partner/brand.section/class.php"
["line"]=>
int(63)
["function"]=>
string(11) "getElements"
["class"]=>
string(28) "PartnerBrandSectionComponent"
["type"]=>
string(2) "->"
}
[6]=>
array(5) {
["file"]=>
string(66) "/home/bitrix/www/bitrix/modules/main/classes/general/component.php"
["line"]=>
int(648)
["function"]=>
string(16) "executeComponent"
["class"]=>
string(28) "PartnerBrandSectionComponent"
["type"]=>
string(2) "->"
}
[7]=>
array(5) {
["file"]=>
string(61) "/home/bitrix/www/bitrix/modules/main/classes/general/main.php"
["line"]=>
int(1039)
["function"]=>
string(16) "includeComponent"
["class"]=>
string(16) "CBitrixComponent"
["type"]=>
string(2) "->"
}
[8]=>
array(5) {
["file"]=>
string(90) "/home/bitrix/www/bitrix/templates/proauto_default/components/bitrix/news/brands/detail.php"
["line"]=>
int(155)
["function"]=>
string(16) "IncludeComponent"
["class"]=>
string(8) "CAllMain"
["type"]=>
string(2) "->"
}
[9]=>
array(4) {
["file"]=>
string(75) "/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php"
["line"]=>
int(726)
["args"]=>
array(1) {
[0]=>
string(90) "/home/bitrix/www/bitrix/templates/proauto_default/components/bitrix/news/brands/detail.php"
}
["function"]=>
string(7) "include"
}
[10]=>
array(5) {
["file"]=>
string(75) "/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php"
["line"]=>
int(821)
["function"]=>
string(20) "__IncludePHPTemplate"
["class"]=>
string(24) "CBitrixComponentTemplate"
["type"]=>
string(2) "->"
}
[11]=>
array(5) {
["file"]=>
string(66) "/home/bitrix/www/bitrix/modules/main/classes/general/component.php"
["line"]=>
int(745)
["function"]=>
string(15) "IncludeTemplate"
["class"]=>
string(24) "CBitrixComponentTemplate"
["type"]=>
string(2) "->"
}
[12]=>
array(5) {
["file"]=>
string(66) "/home/bitrix/www/bitrix/modules/main/classes/general/component.php"
["line"]=>
int(693)
["function"]=>
string(21) "showComponentTemplate"
["class"]=>
string(16) "CBitrixComponent"
["type"]=>
string(2) "->"
}
[13]=>
array(5) {
["file"]=>
string(60) "/home/bitrix/www/bitrix/components/bitrix/news/component.php"
["line"]=>
int(216)
["function"]=>
string(24) "includeComponentTemplate"
["class"]=>
string(16) "CBitrixComponent"
["type"]=>
string(2) "->"
}
[14]=>
array(4) {
["file"]=>
string(66) "/home/bitrix/www/bitrix/modules/main/classes/general/component.php"
["line"]=>
int(604)
["args"]=>
array(1) {
[0]=>
string(60) "/home/bitrix/www/bitrix/components/bitrix/news/component.php"
}
["function"]=>
string(7) "include"
}
[15]=>
array(5) {
["file"]=>
string(66) "/home/bitrix/www/bitrix/modules/main/classes/general/component.php"
["line"]=>
int(663)
["function"]=>
string(18) "__includeComponent"
["class"]=>
string(16) "CBitrixComponent"
["type"]=>
string(2) "->"
}
[16]=>
array(5) {
["file"]=>
string(61) "/home/bitrix/www/bitrix/modules/main/classes/general/main.php"
["line"]=>
int(1039)
["function"]=>
string(16) "includeComponent"
["class"]=>
string(16) "CBitrixComponent"
["type"]=>
string(2) "->"
}
[17]=>
array(5) {
["file"]=>
string(44) "/home/bitrix/www/catalog/katalog-brendov.php"
["line"]=>
int(183)
["function"]=>
string(16) "IncludeComponent"
["class"]=>
string(8) "CAllMain"
["type"]=>
string(2) "->"
}
[18]=>
array(4) {
["file"]=>
string(59) "/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php"
["line"]=>
int(159)
["args"]=>
array(1) {
[0]=>
string(44) "/home/bitrix/www/catalog/katalog-brendov.php"
}
["function"]=>
string(12) "include_once"
}
[19]=>
array(4) {
["file"]=>
string(38) "/home/bitrix/www/bitrix/urlrewrite.php"
["line"]=>
int(2)
["args"]=>
array(1) {
[0]=>
string(59) "/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php"
}
["function"]=>
string(12) "include_once"
}
}
["previous":"Exception":private]=>
NULL
}