#0 Zend_Db_Statement_Mysqli->_execute(Array ()) called at [/var/www/domains/bs-media.ru/lib/Zend/Db/Statement.php:320] #1 Zend_Db_Statement->execute(Array ()) called at [/var/www/domains/bs-media.ru/lib/Zend/Db/Adapter/Abstract.php:468] #2 Zend_Db_Adapter_Abstract->query(SELECT `i`.`item_id`, `i`.`name`, `i`.`typename`, `i`.`price`, `i`.`currency_id`, `b`.`name` AS `brand_name`, `b`.`display_prices` AS `brand_dp`, ABS(i.item_id - 5811) AS `item_id_abs` FROM `item` AS `i` INNER JOIN `cat_item` AS `ci1` ON ci1.item_id = i.item_id INNER JOIN `catalogue` AS `c0` ON c0.catalogue_id = ci1.catalogue_id INNER JOIN `links` AS `l` ON ci1.catalogue_id = l.id and l.parent_id=254 and l.type=2 LEFT JOIN `brand` AS `b` ON b.brand_id = i.brand_id WHERE (i.realstatus = 1) AND (i.catalogue_id = 14 and i.item_id <> 5811) GROUP BY `i`.`item_id` ORDER BY `item_id_abs` ASC LIMIT 2, Array ()) called at [/var/www/domains/bs-media.ru/lib/Zend/Db/Adapter/Abstract.php:706] #3 Zend_Db_Adapter_Abstract->fetchAll(Zend_Db_Select Object ([*_bind] => Array (),[*_adapter] => Zend_Db_Adapter_Mysqli Object ([*_numericDataTypes] => Array ([0] => 0,[1] => 1,[2] => 2,[INT] => 0,[INTEGER] => 0,[MEDIUMINT] => 0,[SMALLINT] => 0,[TINYINT] => 0,[BIGINT] => 1,[SERIAL] => 1,[DEC] => 2,[DECIMAL] => 2,[DOUBLE] => 2,[DOUBLE PRECISION] => 2,[FIXED] => 2,[FLOAT] => 2),[*_stmt] => Zend_Db_Statement_Mysqli Object ([*_keys] => ,[*_values] => ,[*_meta] => ,[*_stmt] => mysqli_stmt Object ([affected_rows] => ,[insert_id] => ,[num_rows] => ,[param_count] => ,[field_count] => ,[errno] => ,[error] => ,[error_list] => ,[sqlstate] => ,[id] => ),[*_adapter] => Zend_Db_Adapter_Mysqli Object ( *RECURSION*,[*_fetchMode] => 2,[*_attribute] => Array (),[*_bindColumn] => Array (),[*_bindParam] => Array (),[*_sqlSplit] => Array ([0] => SELECT `i`.`item_id`, `i`.`name`, `i`.`typename`, `i`.`price`, `i`.`currency_id`, `b`.`name` AS `brand_name`, `b`.`display_prices` AS `brand_dp`, ABS(i.item_id - 5811) AS `item_id_abs` FROM `item` AS `i` INNER JOIN `cat_item` AS `ci1` ON ci1.item_id = i.item_id INNER JOIN `catalogue` AS `c0` ON c0.catalogue_id = ci1.catalogue_id INNER JOIN `links` AS `l` ON ci1.catalogue_id = l.id and l.parent_id=254 and l.type=2 LEFT JOIN `brand` AS `b` ON b.brand_id = i.brand_id WHERE (i.realstatus = 1) AND (i.catalogue_id = 14 and i.item_id <> 5811) GROUP BY `i`.`item_id` ORDER BY `item_id_abs` ASC LIMIT 2),[*_sqlParam] => Array ([0] => SELECT `i`.`item_id`, `i`.`name`, `i`.`typename`, `i`.`price`, `i`.`currency_id`, `b`.`name` AS `brand_name`, `b`.`display_prices` AS `brand_dp`, ABS(i.item_id - 5811) AS `item_id_abs` FROM `item` AS `i` INNER JOIN `cat_item` AS `ci1` ON ci1.item_id = i.item_id INNER JOIN `catalogue` AS `c0` ON c0.catalogue_id = ci1.catalogue_id INNER JOIN `links` AS `l` ON ci1.catalogue_id = l.id and l.parent_id=254 and l.type=2 LEFT JOIN `brand` AS `b` ON b.brand_id = i.brand_id WHERE (i.realstatus = 1) AND (i.catalogue_id = 14 and i.item_id <> 5811) GROUP BY `i`.`item_id` ORDER BY `item_id_abs` ASC LIMIT 2),[*_queryId] => 69),[*_defaultStmtClass] => Zend_Db_Statement_Mysqli,[*_config] => Array ([host] => localhost,[username] => bs,[password] => aBrING7tOc-E,[dbname] => u260954,[charset] => ,[persistent] => ,[options] => Array ([caseFolding] => 0,[autoQuoteIdentifiers] => 1),[driver_options] => Array ()),[*_fetchMode] => 2,[*_profiler] => Zend_Db_Profiler Object ([*_queryProfiles] => Array ([0] => Zend_Db_Profiler_Query Object ([*_query] => SET NAMES 'utf8',[*_queryType] => 2,[*_startedMicrotime] => 1620917221.8083,[*_endedMicrotime] => 1620917221.8084,[*_boundParams] => Array ()),[1] => Zend_Db_Profiler_Query Object ([*_query] => SET CHARACTER SET 'utf8',[*_queryType] => 2,[*_startedMicrotime] => 1620917221.8086,[*_endedMicrotime] => 1620917221.8086,[*_boundParams] => Array ()),[2] => Zend_Db_Profiler_Query Object ([*_query] => SET SESSION collation_connection = 'utf8_general_ci',[*_queryType] => 2,[*_startedMicrotime] => 1620917221.8088,[*_endedMicrotime] => 1620917221.8089,[*_boundParams] => Array ()),[3] => Zend_Db_Profiler_Query Object ([*_query] => SELECT cmf_script_id, modelname FROM cmf_script WHERE url = ? limit 1,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8362,[*_endedMicrotime] => 1620917221.8364,[*_boundParams] => Array ([1] => bs-media.ru)),[4] => Zend_Db_Profiler_Query Object ([*_query] => SELECT cmf_script_id, name FROM cmf_script WHERE article=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8367,[*_endedMicrotime] => 1620917221.8369,[*_boundParams] => Array ([1] => Item)),[5] => Zend_Db_Profiler_Query Object ([*_query] => SELECT parent_id, name, url FROM cmf_script WHERE cmf_script_id = ?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8371,[*_endedMicrotime] => 1620917221.8373,[*_boundParams] => Array ([1] => 229)),[6] => Zend_Db_Profiler_Query Object ([*_query] => SELECT parent_id, name, url FROM cmf_script WHERE cmf_script_id = ?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8375,[*_endedMicrotime] => 1620917221.8376,[*_boundParams] => Array ([1] => 228)),[7] => Zend_Db_Profiler_Query Object ([*_query] => SELECT parent_id, name, url FROM cmf_script WHERE cmf_script_id = ?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8379,[*_endedMicrotime] => 1620917221.838,[*_boundParams] => Array ([1] => 225)),[8] => Zend_Db_Profiler_Query Object ([*_query] => SELECT parent_id, name, url FROM cmf_script WHERE cmf_script_id = ?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8383,[*_endedMicrotime] => 1620917221.8384,[*_boundParams] => Array ([1] => 13)),[9] => Zend_Db_Profiler_Query Object ([*_query] => SELECT parent_id, name, url FROM cmf_script WHERE cmf_script_id = ?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8387,[*_endedMicrotime] => 1620917221.8388,[*_boundParams] => Array ([1] => 1)),[10] => Zend_Db_Profiler_Query Object ([*_query] => SELECT cmf_script_id FROM cmf_script WHERE url = ? limit 1,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8392,[*_endedMicrotime] => 1620917221.8394,[*_boundParams] => Array ([1] => bs-media.ru)),[11] => Zend_Db_Profiler_Query Object ([*_query] => SELECT cmf_script_id FROM cmf_script WHERE article=? and cmf_script_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8396,[*_endedMicrotime] => 1620917221.8397,[*_boundParams] => Array ([1] => front,[2] => 254)),[12] => Zend_Db_Profiler_Query Object ([*_query] => SELECT cmf_script_id FROM cmf_script WHERE url = ? limit 1,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.84,[*_endedMicrotime] => 1620917221.8401,[*_boundParams] => Array ([1] => bs-media.ru)),[13] => Zend_Db_Profiler_Query Object ([*_query] => SELECT cmf_script_id FROM cmf_script WHERE url = ? limit 1,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8403,[*_endedMicrotime] => 1620917221.8404,[*_boundParams] => Array ([1] => bs-media.ru)),[14] => Zend_Db_Profiler_Query Object ([*_query] => SELECT i.catalogue_id FROM item i INNER JOIN links l ON (l.id = i.catalogue_id and l.parent_id=254 and l.type=2) WHERE i.item_id = ?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8407,[*_endedMicrotime] => 1620917221.8408,[*_boundParams] => Array ([1] => 5811)),[15] => Zend_Db_Profiler_Query Object ([*_query] => SELECT `i`.`item_id`, `i`.`name`, `ils2`.`flag` AS `have_attributes`, `i`.`title`, `i`.`typename`, `i`.`price`, `i`.`complex_price`, `i`.`models_in_description`, `i`.`currency_id`, `i`.`article`, `i`.`description`, `i`.`catalogue_id`, `b`.`name` AS `brand_name`, `b`.`display_prices` AS `brand_dp`, `b`.`brand_id`, `x`.`xml`, `c`.`realcatname` FROM `item` AS `i` INNER JOIN `cat_item` AS `ci1` ON ci1.item_id = i.item_id INNER JOIN `catalogue` AS `c0` ON c0.catalogue_id = ci1.catalogue_id INNER JOIN `links` AS `l` ON ci1.catalogue_id = l.id and l.parent_id=254 and l.type=2 LEFT JOIN `brand` AS `b` ON b.brand_id = i.brand_id LEFT JOIN `item_link` AS `ils2` ON ils2.item_id = i.item_id and ils2.item_link_type_id=7 INNER JOIN `links` AS `l3` ON ils2.linked_item_id = l3.id and l3.parent_id=254 and l3.type=2 LEFT JOIN `xmls` AS `x` ON x.xmls_id = i.item_id and x.type = 3 INNER JOIN `catalogue` AS `c` ON c.catalogue_id = i.catalogue_id WHERE (i.realstatus = 1) AND (i.item_id = 5811) GROUP BY `i`.`item_id`,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8415,[*_endedMicrotime] => 1620917221.8418,[*_boundParams] => Array ()),[16] => Zend_Db_Profiler_Query Object ([*_query] => SELECT cmf_script_id FROM cmf_script WHERE url = ? limit 1,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8421,[*_endedMicrotime] => 1620917221.8422,[*_boundParams] => Array ([1] => bs-media.ru)),[17] => Zend_Db_Profiler_Query Object ([*_query] => SELECT cmf_script_id FROM cmf_script WHERE url = ? limit 1,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8446,[*_endedMicrotime] => 1620917221.8447,[*_boundParams] => Array ([1] => bs-media.ru)),[18] => Zend_Db_Profiler_Query Object ([*_query] => SELECT `item_image`.`item_image_id`, `item_image`.`image` FROM `item_image` WHERE (image <> "") AND (image is not NULL) AND (item_id = 5811) ORDER BY `ordering` ASC,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8451,[*_endedMicrotime] => 1620917221.8451,[*_boundParams] => Array ()),[19] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format where sysname = ?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8455,[*_endedMicrotime] => 1620917221.8456,[*_boundParams] => Array ([1] => item_card)),[20] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8458,[*_endedMicrotime] => 1620917221.8459,[*_boundParams] => Array ([1] => item_image,[2] => image_card,[3] => 8822,[4] => 3)),[21] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format where sysname = ?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8462,[*_endedMicrotime] => 1620917221.8463,[*_boundParams] => Array ([1] => item_card_preview)),[22] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8465,[*_endedMicrotime] => 1620917221.8466,[*_boundParams] => Array ([1] => item_image,[2] => image_card_preview,[3] => 8822,[4] => 6)),[23] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8468,[*_endedMicrotime] => 1620917221.847,[*_boundParams] => Array ([1] => item_image,[2] => image_card,[3] => 8823,[4] => 3)),[24] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8473,[*_endedMicrotime] => 1620917221.8474,[*_boundParams] => Array ([1] => item_image,[2] => image_card_preview,[3] => 8823,[4] => 6)),[25] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8476,[*_endedMicrotime] => 1620917221.8478,[*_boundParams] => Array ([1] => item_image,[2] => image_card,[3] => 8824,[4] => 3)),[26] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.848,[*_endedMicrotime] => 1620917221.8481,[*_boundParams] => Array ([1] => item_image,[2] => image_card_preview,[3] => 8824,[4] => 6)),[27] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8483,[*_endedMicrotime] => 1620917221.8484,[*_boundParams] => Array ([1] => item_image,[2] => image_card,[3] => 8825,[4] => 3)),[28] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8486,[*_endedMicrotime] => 1620917221.8487,[*_boundParams] => Array ([1] => item_image,[2] => image_card_preview,[3] => 8825,[4] => 6)),[29] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8489,[*_endedMicrotime] => 1620917221.849,[*_boundParams] => Array ([1] => item_image,[2] => image_card,[3] => 8826,[4] => 3)),[30] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8493,[*_endedMicrotime] => 1620917221.8494,[*_boundParams] => Array ([1] => item_image,[2] => image_card_preview,[3] => 8826,[4] => 6)),[31] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8496,[*_endedMicrotime] => 1620917221.8497,[*_boundParams] => Array ([1] => item_image,[2] => image_card,[3] => 8827,[4] => 3)),[32] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8499,[*_endedMicrotime] => 1620917221.85,[*_boundParams] => Array ([1] => item_image,[2] => image_card_preview,[3] => 8827,[4] => 6)),[33] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8502,[*_endedMicrotime] => 1620917221.8503,[*_boundParams] => Array ([1] => item_image,[2] => image_card,[3] => 8828,[4] => 3)),[34] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8505,[*_endedMicrotime] => 1620917221.8506,[*_boundParams] => Array ([1] => item_image,[2] => image_card_preview,[3] => 8828,[4] => 6)),[35] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8508,[*_endedMicrotime] => 1620917221.8509,[*_boundParams] => Array ([1] => item_image,[2] => image_card,[3] => 8829,[4] => 3)),[36] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8512,[*_endedMicrotime] => 1620917221.8513,[*_boundParams] => Array ([1] => item_image,[2] => image_card_preview,[3] => 8829,[4] => 6)),[37] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8515,[*_endedMicrotime] => 1620917221.8516,[*_boundParams] => Array ([1] => item_image,[2] => image_card,[3] => 8830,[4] => 3)),[38] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8518,[*_endedMicrotime] => 1620917221.8519,[*_boundParams] => Array ([1] => item_image,[2] => image_card_preview,[3] => 8830,[4] => 6)),[39] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8522,[*_endedMicrotime] => 1620917221.8523,[*_boundParams] => Array ([1] => item_image,[2] => image_card,[3] => 8831,[4] => 3)),[40] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8525,[*_endedMicrotime] => 1620917221.8526,[*_boundParams] => Array ([1] => item_image,[2] => image_card_preview,[3] => 8831,[4] => 6)),[41] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8528,[*_endedMicrotime] => 1620917221.8529,[*_boundParams] => Array ([1] => item_image,[2] => image_card,[3] => 8832,[4] => 3)),[42] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8531,[*_endedMicrotime] => 1620917221.8532,[*_boundParams] => Array ([1] => item_image,[2] => image_card_preview,[3] => 8832,[4] => 6)),[43] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8534,[*_endedMicrotime] => 1620917221.8535,[*_boundParams] => Array ([1] => item_image,[2] => image_card,[3] => 8833,[4] => 3)),[44] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8537,[*_endedMicrotime] => 1620917221.8538,[*_boundParams] => Array ([1] => item_image,[2] => image_card_preview,[3] => 8833,[4] => 6)),[45] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8541,[*_endedMicrotime] => 1620917221.8542,[*_boundParams] => Array ([1] => item_image,[2] => image_card,[3] => 8834,[4] => 3)),[46] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8544,[*_endedMicrotime] => 1620917221.8545,[*_boundParams] => Array ([1] => item_image,[2] => image_card_preview,[3] => 8834,[4] => 6)),[47] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8547,[*_endedMicrotime] => 1620917221.8548,[*_boundParams] => Array ([1] => item_image,[2] => image_card,[3] => 8835,[4] => 3)),[48] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.855,[*_endedMicrotime] => 1620917221.8551,[*_boundParams] => Array ([1] => item_image,[2] => image_card_preview,[3] => 8835,[4] => 6)),[49] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8553,[*_endedMicrotime] => 1620917221.8554,[*_boundParams] => Array ([1] => item_image,[2] => image_card,[3] => 8836,[4] => 3)),[50] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8556,[*_endedMicrotime] => 1620917221.8557,[*_boundParams] => Array ([1] => item_image,[2] => image_card_preview,[3] => 8836,[4] => 6)),[51] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8559,[*_endedMicrotime] => 1620917221.856,[*_boundParams] => Array ([1] => item_image,[2] => image_card,[3] => 8837,[4] => 3)),[52] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8562,[*_endedMicrotime] => 1620917221.8563,[*_boundParams] => Array ([1] => item_image,[2] => image_card_preview,[3] => 8837,[4] => 6)),[53] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8566,[*_endedMicrotime] => 1620917221.8567,[*_boundParams] => Array ([1] => item_image,[2] => image_card,[3] => 8838,[4] => 3)),[54] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8569,[*_endedMicrotime] => 1620917221.857,[*_boundParams] => Array ([1] => item_image,[2] => image_card_preview,[3] => 8838,[4] => 6)),[55] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8572,[*_endedMicrotime] => 1620917221.8573,[*_boundParams] => Array ([1] => item_image,[2] => image_card,[3] => 8839,[4] => 3)),[56] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8575,[*_endedMicrotime] => 1620917221.8576,[*_boundParams] => Array ([1] => item_image,[2] => image_card_preview,[3] => 8839,[4] => 6)),[57] => Zend_Db_Profiler_Query Object ([*_query] => SELECT cmf_script_id FROM cmf_script WHERE url = ? limit 1,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8579,[*_endedMicrotime] => 1620917221.858,[*_boundParams] => Array ([1] => bs-media.ru)),[58] => Zend_Db_Profiler_Query Object ([*_query] => SELECT `item_prices`.`item_price_id`, `item_prices`.`price`, `item_prices`.`file_types_id` FROM `item_prices` WHERE (price <> "") AND (price is not NULL) AND (item_id = 5811) ORDER BY `ordering` ASC,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8583,[*_endedMicrotime] => 1620917221.8584,[*_boundParams] => Array ()),[59] => Zend_Db_Profiler_Query Object ([*_query] => SELECT cmf_script_id FROM cmf_script WHERE url = ? limit 1,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8588,[*_endedMicrotime] => 1620917221.8589,[*_boundParams] => Array ([1] => bs-media.ru)),[60] => Zend_Db_Profiler_Query Object ([*_query] => SELECT `file_types`.* FROM `file_types`,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8591,[*_endedMicrotime] => 1620917221.8592,[*_boundParams] => Array ()),[61] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format where sysname = ?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8594,[*_endedMicrotime] => 1620917221.8596,[*_boundParams] => Array ([1] => icon_file_types)),[62] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8598,[*_endedMicrotime] => 1620917221.8599,[*_boundParams] => Array ([1] => file_types,[2] => image,[3] => 1,[4] => 13)),[63] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8601,[*_endedMicrotime] => 1620917221.8602,[*_boundParams] => Array ([1] => file_types,[2] => image,[3] => 6,[4] => 13)),[64] => Zend_Db_Profiler_Query Object ([*_query] => select * from image_format_image where `table`=? and `field`=? and row_id=? and image_format_id=?,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8604,[*_endedMicrotime] => 1620917221.8605,[*_boundParams] => Array ([1] => file_types,[2] => image,[3] => 7,[4] => 13)),[65] => Zend_Db_Profiler_Query Object ([*_query] => SELECT cmf_script_id FROM cmf_script WHERE url = ? limit 1,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8618,[*_endedMicrotime] => 1620917221.8619,[*_boundParams] => Array ([1] => bs-media.ru)),[66] => Zend_Db_Profiler_Query Object ([*_query] => SELECT `item_xmls`.`item_xml_id`, `item_xmls`.`name`, `item_xmls`.`url`, `item_xmls`.`xml` FROM `item_xmls` WHERE (status) AND (item_id = 5811) ORDER BY `ordering` ASC,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8622,[*_endedMicrotime] => 1620917221.8623,[*_boundParams] => Array ()),[67] => Zend_Db_Profiler_Query Object ([*_query] => SELECT `i`.`item_id`, `i`.`name`, `i`.`typename`, `i`.`price`, `i`.`currency_id`, `b`.`name` AS `brand_name`, `b`.`display_prices` AS `brand_dp` FROM `item` AS `i` INNER JOIN `cat_item` AS `ci1` ON ci1.item_id = i.item_id INNER JOIN `catalogue` AS `c0` ON c0.catalogue_id = ci1.catalogue_id INNER JOIN `links` AS `l` ON ci1.catalogue_id = l.id and l.parent_id=254 and l.type=2 LEFT JOIN `brand` AS `b` ON b.brand_id = i.brand_id INNER JOIN `item_link` AS `il` ON il.item_link_type_id = 1 and il.linked_item_id = i.item_id and il.item_id = 5811 WHERE (i.realstatus = 1) GROUP BY `i`.`item_id` ORDER BY RAND() LIMIT 2,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8631,[*_endedMicrotime] => 1620917221.8637,[*_boundParams] => Array ()),[68] => Zend_Db_Profiler_Query Object ([*_query] => SELECT catalogue_id FROM item WHERE item_id = 5811 limit 1,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.864,[*_endedMicrotime] => 1620917221.864,[*_boundParams] => Array ()),[69] => Zend_Db_Profiler_Query Object ([*_query] => SELECT `i`.`item_id`, `i`.`name`, `i`.`typename`, `i`.`price`, `i`.`currency_id`, `b`.`name` AS `brand_name`, `b`.`display_prices` AS `brand_dp`, ABS(i.item_id - 5811) AS `item_id_abs` FROM `item` AS `i` INNER JOIN `cat_item` AS `ci1` ON ci1.item_id = i.item_id INNER JOIN `catalogue` AS `c0` ON c0.catalogue_id = ci1.catalogue_id INNER JOIN `links` AS `l` ON ci1.catalogue_id = l.id and l.parent_id=254 and l.type=2 LEFT JOIN `brand` AS `b` ON b.brand_id = i.brand_id WHERE (i.realstatus = 1) AND (i.catalogue_id = 14 and i.item_id <> 5811) GROUP BY `i`.`item_id` ORDER BY `item_id_abs` ASC LIMIT 2,[*_queryType] => 32,[*_startedMicrotime] => 1620917221.8644,[*_endedMicrotime] => ,[*_boundParams] => Array ())),[*_enabled] => 1,[*_filterElapsedSecs] => ,[*_filterTypes] => ),[*_defaultProfilerClass] => Zend_Db_Profiler,[*_connection] => mysqli Object ([affected_rows] => ,[client_info] => ,[client_version] => ,[connect_errno] => ,[connect_error] => ,[errno] => ,[error] => ,[error_list] => ,[field_count] => ,[host_info] => ,[info] => ,[insert_id] => ,[server_info] => ,[server_version] => ,[stat] => ,[sqlstate] => ,[protocol_version] => ,[thread_id] => ,[warning_count] => ),[*_caseFolding] => 0,[*_autoQuoteIdentifiers] => 1,[*_allowSerialization] => 1,[*_autoReconnectOnUnserialize] => ),[*_parts] => Array ([distinct] => ,[columns] => Array ([0] => Array ([0] => i,[1] => item_id,[2] => ),[1] => Array ([0] => i,[1] => name,[2] => ),[2] => Array ([0] => i,[1] => typename,[2] => ),[3] => Array ([0] => i,[1] => price,[2] => ),[4] => Array ([0] => i,[1] => currency_id,[2] => ),[5] => Array ([0] => b,[1] => name,[2] => brand_name),[6] => Array ([0] => b,[1] => display_prices,[2] => brand_dp),[7] => Array ([0] => i,[1] => Zend_Db_Expr Object ([*_expression] => ABS(i.item_id - 5811)),[2] => item_id_abs)),[union] => Array (),[from] => Array ([i] => Array ([joinType] => from,[schema] => ,[tableName] => item,[joinCondition] => ),[ci1] => Array ([joinType] => inner join,[schema] => ,[tableName] => cat_item,[joinCondition] => ci1.item_id = i.item_id),[c0] => Array ([joinType] => inner join,[schema] => ,[tableName] => catalogue,[joinCondition] => c0.catalogue_id = ci1.catalogue_id),[l] => Array ([joinType] => inner join,[schema] => ,[tableName] => links,[joinCondition] => ci1.catalogue_id = l.id and l.parent_id=254 and l.type=2),[b] => Array ([joinType] => left join,[schema] => ,[tableName] => brand,[joinCondition] => b.brand_id = i.brand_id)),[where] => Array ([0] => (i.realstatus = 1),[1] => AND (i.catalogue_id = 14 and i.item_id <> 5811)),[group] => Array ([0] => i.item_id),[having] => Array (),[order] => Array ([0] => Array ([0] => item_id_abs,[1] => ASC)),[limitcount] => 2,[limitoffset] => 0,[forupdate] => ),[*_tableCols] => Array ())) called at [/var/www/domains/bs-media.ru/models/Item.php:711] #4 Item->getRelatedItems(5811, Array ([limit] => 2)) called at [/var/www/domains/bs-media.ru/controllers/ItemController.php:56] #5 ItemController->indexAction() called at [/var/www/domains/bs-media.ru/lib/Abstract_Controller.php:112] #6 Abstract_Controller->dispatch(Array ()) called at [/var/www/domains/bs-media.ru/rewrite.php:137]
Message: Mysqli statement execute error : BIGINT UNSIGNED value is out of range in '(`u260954`.`i`.`item_id` - 5811)'
Code: 1690
File: /var/www/domains/bs-media.ru/lib/Zend/Db/Statement/Mysqli.php
Line: 218
Trace: