There has been an error processing your request

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'promotion' in 'where clause', query was: SELECT COUNT(DISTINCT e.entity_id) FROM `catalog_product_entity` AS `e`
 INNER JOIN `catalog_product_entity_int` AS `at_obsolete_default` ON (`at_obsolete_default`.`entity_id` = `e`.`entity_id`) AND (`at_obsolete_default`.`attribute_id` = '191') AND `at_obsolete_default`.`store_id` = 0
 LEFT JOIN `catalog_product_entity_int` AS `at_obsolete` ON (`at_obsolete`.`entity_id` = `e`.`entity_id`) AND (`at_obsolete`.`attribute_id` = '191') AND (`at_obsolete`.`store_id` = 4)
 INNER JOIN `catalog_category_product_index` AS `cat_index` ON cat_index.product_id=e.entity_id AND cat_index.store_id='4' AND cat_index.visibility IN(2, 4) AND cat_index.category_id = '2149'
 INNER JOIN `catalog_product_index_price` AS `price_index` ON price_index.entity_id = e.entity_id AND price_index.website_id = '2' AND price_index.customer_group_id = 0 WHERE (
			EXISTS (
				SELECT * FROM catalog_category_product_index sqliidx
				WHERE sqliidx.product_id=e.entity_id
				AND sqliidx.store_id=4
				AND sqliidx.category_id <> 4
			)
		) AND (((((IF(at_obsolete.value_id > 0, at_obsolete.value, at_obsolete_default.value) = '0') OR (IF(at_obsolete.value_id > 0, at_obsolete.value, at_obsolete_default.value) IS NULL))))) AND ((promotion = 1 OR destocking = 1))
Trace: #0 /data/www/client/cuc/releases/1227831082/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array) #1 /data/www/client/cuc/releases/1227831082/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array) #2 /data/www/client/cuc/releases/1227831082/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #3 /data/www/client/cuc/releases/1227831082/lib/Zend/Db/Adapter/Pdo/Abstract.php(240): Zend_Db_Adapter_Abstract->query('SELECT COUNT(DI...', Array) #4 /data/www/client/cuc/releases/1227831082/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query('SELECT COUNT(DI...', Array) #5 /data/www/client/cuc/releases/1227831082/lib/Magento/Db/Adapter/Pdo/Mysql.php(176): Varien_Db_Adapter_Pdo_Mysql->query('SELECT COUNT(DI...', Array) #6 /data/www/client/cuc/releases/1227831082/lib/Zend/Db/Adapter/Abstract.php(828): Magento_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array) #7 /data/www/client/cuc/releases/1227831082/lib/Varien/Data/Collection/Db.php(225): Zend_Db_Adapter_Abstract->fetchOne(Object(Varien_Db_Select), Array) #8 /data/www/client/cuc/releases/1227831082/app/code/local/Sqli/Catalog/Block/Product/Widget/Abstract.php(393): Varien_Data_Collection_Db->getSize() #9 /data/www/client/cuc/releases/1227831082/app/code/core/Mage/Core/Block/Abstract.php(924): Sqli_Catalog_Block_Product_Widget_Abstract->_toHtml() #10 /data/www/client/cuc/releases/1227831082/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml() #11 /data/www/client/cuc/releases/1227831082/app/code/core/Mage/Core/Block/Abstract.php(924): Mage_Core_Block_Text_List->_toHtml() #12 /data/www/client/cuc/releases/1227831082/app/code/core/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml() #13 /data/www/client/cuc/releases/1227831082/app/code/core/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml('content', true) #14 /data/www/client/cuc/releases/1227831082/app/design/frontend/abix/default/template/page/2columns-left.phtml(42): Mage_Core_Block_Abstract->getChildHtml('content') #15 /data/www/client/cuc/releases/1227831082/app/code/core/Mage/Core/Block/Template.php(241): include('/data/www/clien...') #16 /data/www/client/cuc/releases/1227831082/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/abix/d...') #17 /data/www/client/cuc/releases/1227831082/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() #18 /data/www/client/cuc/releases/1227831082/app/code/core/Mage/Core/Block/Abstract.php(924): Mage_Core_Block_Template->_toHtml() #19 /data/www/client/cuc/releases/1227831082/app/code/core/Mage/Core/Model/Layout.php(558): Mage_Core_Block_Abstract->toHtml() #20 /data/www/client/cuc/releases/1227831082/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput() #21 /data/www/client/cuc/releases/1227831082/app/code/core/Mage/Catalog/controllers/CategoryController.php(161): Mage_Core_Controller_Varien_Action->renderLayout() #22 /data/www/client/cuc/releases/1227831082/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Catalog_CategoryController->viewAction() #23 /data/www/client/cuc/releases/1227831082/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view') #24 /data/www/client/cuc/releases/1227831082/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #25 /data/www/client/cuc/releases/1227831082/app/code/local/Mage/Core/Model/App.php(347): Mage_Core_Controller_Varien_Front->dispatch() #26 /data/www/client/cuc/releases/1227831082/app/Mage.php(687): Mage_Core_Model_App->run(Array) #27 /data/www/client/cuc/releases/1227831082/index.php(131): Mage::run('abix_store_fr', 'store') #28 {main}

Error log record number: 999596880283