2 exception(s): Exception #0 (Zend_Db_Statement_Exception): SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'price' in where clause is ambiguous, query was: SELECT 1 AS `status`, `e`.`entity_id`, `e`.`attribute_set_id`, `e`.`type_id`, `e`.`created_at`, `e`.`updated_at`, `e`.`sku`, `price_index`.`price`, `price_index`.`tax_class_id`, `price_index`.`final_price`, IF(price_index.tier_price IS NOT NULL, LEAST(price_index.min_price, price_index.tier_price), price_index.min_price) AS `minimal_price`, `price_index`.`min_price`, `price_index`.`max_price`, `price_index`.`tier_price`, `e`.`name`, `e`.`short_description`, `e`.`description`, `e`.`price`, `e`.`thumbnail`, `e`.`special_price`, `e`.`special_to_date`, `e`.`msrp_display_actual_price_type`, `e`.`msrp`, `stock_status_index`.`stock_status` AS `is_salable` FROM `kps_catalog_product_flat_1` AS `e` INNER JOIN `kps_catalog_product_index_price` AS `price_index` ON price_index.entity_id = e.entity_id AND price_index.website_id = '1' AND price_index.customer_group_id = 0 LEFT JOIN `kps_cataloginventory_stock_status` AS `stock_status_index` ON e.entity_id = stock_status_index.product_id AND stock_status_index.website_id = 0 AND stock_status_index.stock_id = 1 WHERE (final_price < price) ORDER BY `e`.`name` asc Exception #1 (PDOException): SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'price' in where clause is ambiguous Exception #0 (Zend_Db_Statement_Exception): SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'price' in where clause is ambiguous, query was: SELECT 1 AS `status`, `e`.`entity_id`, `e`.`attribute_set_id`, `e`.`type_id`, `e`.`created_at`, `e`.`updated_at`, `e`.`sku`, `price_index`.`price`, `price_index`.`tax_class_id`, `price_index`.`final_price`, IF(price_index.tier_price IS NOT NULL, LEAST(price_index.min_price, price_index.tier_price), price_index.min_price) AS `minimal_price`, `price_index`.`min_price`, `price_index`.`max_price`, `price_index`.`tier_price`, `e`.`name`, `e`.`short_description`, `e`.`description`, `e`.`price`, `e`.`thumbnail`, `e`.`special_price`, `e`.`special_to_date`, `e`.`msrp_display_actual_price_type`, `e`.`msrp`, `stock_status_index`.`stock_status` AS `is_salable` FROM `kps_catalog_product_flat_1` AS `e` INNER JOIN `kps_catalog_product_index_price` AS `price_index` ON price_index.entity_id = e.entity_id AND price_index.website_id = '1' AND price_index.customer_group_id = 0 LEFT JOIN `kps_cataloginventory_stock_status` AS `stock_status_index` ON e.entity_id = stock_status_index.product_id AND stock_status_index.website_id = 0 AND stock_status_index.stock_id = 1 WHERE (final_price < price) ORDER BY `e`.`name` asc #0 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/DB/Statement/Pdo/Mysql.php(93): Zend_Db_Statement_Pdo->_execute(Array) #1 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Statement.php(303): Magento\Framework\DB\Statement\Pdo\Mysql->_execute(Array) #2 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #3 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT 1 AS `st...', Array) #4 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(533): Zend_Db_Adapter_Pdo_Abstract->query('SELECT 1 AS `st...', Array) #5 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(596): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT 1 AS `st...', Array) #6 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #7 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Data/Collection/Db/FetchStrategy/Query.php(21): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select), Array) #8 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Data/Collection/AbstractDb.php(774): Magento\Framework\Data\Collection\Db\FetchStrategy\Query->fetchAll(Object(Magento\Framework\DB\Select), Array) #9 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/module-eav/Model/Entity/Collection/AbstractCollection.php(1115): Magento\Framework\Data\Collection\AbstractDb->_fetchAll(Object(Magento\Framework\DB\Select)) #10 /var/www/vhosts/kpsante.fr/httpdocs/generated/code/Magento/Catalog/Model/ResourceModel/Product/Collection/Interceptor.php(1129): Magento\Eav\Model\Entity\Collection\AbstractCollection->_loadEntities(false, false) #11 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/module-eav/Model/Entity/Collection/AbstractCollection.php(913): Magento\Catalog\Model\ResourceModel\Product\Collection\Interceptor->_loadEntities(false, false) #12 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php(758): Magento\Eav\Model\Entity\Collection\AbstractCollection->load(false, false) #13 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Catalog\Model\ResourceModel\Product\Collection->load(false, false) #14 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Catalog\Model\ResourceModel\Product\Collection\Interceptor->___callParent('load', Array) #15 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Model\ResourceModel\Product\Collection\Interceptor->Magento\Framework\Interception\{closure}() #16 /var/www/vhosts/kpsante.fr/httpdocs/generated/code/Magento/Catalog/Model/ResourceModel/Product/Collection/Interceptor.php(195): Magento\Catalog\Model\ResourceModel\Product\Collection\Interceptor->___callPlugins('load', Array, Array) #17 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Data/Collection.php(831): Magento\Catalog\Model\ResourceModel\Product\Collection\Interceptor->load() #18 /var/www/vhosts/kpsante.fr/httpdocs/generated/code/Magento/Catalog/Model/ResourceModel/Product/Collection/Interceptor.php(1766): Magento\Framework\Data\Collection->getIterator() #19 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/module-catalog/Block/Rss/Product/Special.php(130): Magento\Catalog\Model\ResourceModel\Product\Collection\Interceptor->getIterator() #20 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/module-rss/Model/Rss.php(66): Magento\Catalog\Block\Rss\Product\Special->getRssData() #21 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/module-rss/Model/Rss.php(95): Magento\Rss\Model\Rss->getFeeds() #22 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/module-rss/Controller/Feed/Index.php(49): Magento\Rss\Model\Rss->createRssXml() #23 /var/www/vhosts/kpsante.fr/httpdocs/generated/code/Magento/Rss/Controller/Feed/Index/Interceptor.php(24): Magento\Rss\Controller\Feed\Index->execute() #24 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/App/Action/Action.php(107): Magento\Rss\Controller\Feed\Index\Interceptor->execute() #25 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http)) #26 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Rss\Controller\Feed\Index\Interceptor->___callParent('dispatch', Array) #27 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Rss\Controller\Feed\Index\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #28 /var/www/vhosts/kpsante.fr/httpdocs/generated/code/Magento/Rss/Controller/Feed/Index/Interceptor.php(39): Magento\Rss\Controller\Feed\Index\Interceptor->___callPlugins('dispatch', Array, Array) #29 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/App/FrontController.php(55): Magento\Rss\Controller\Feed\Index\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #30 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http)) #31 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array) #32 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #33 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #34 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(73): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #35 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(135): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #36 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #37 /var/www/vhosts/kpsante.fr/httpdocs/generated/code/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, NULL) #38 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #39 /var/www/vhosts/kpsante.fr/httpdocs/generated/code/Magento/Framework/App/Http/Interceptor.php(24): Magento\Framework\App\Http->launch() #40 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/App/Bootstrap.php(256): Magento\Framework\App\Http\Interceptor->launch() #41 /var/www/vhosts/kpsante.fr/httpdocs/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #42 {main} Exception #1 (PDOException): SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'price' in where clause is ambiguous #0 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array) #1 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/DB/Statement/Pdo/Mysql.php(93): Zend_Db_Statement_Pdo->_execute(Array) #2 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Statement.php(303): Magento\Framework\DB\Statement\Pdo\Mysql->_execute(Array) #3 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #4 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT 1 AS `st...', Array) #5 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(533): Zend_Db_Adapter_Pdo_Abstract->query('SELECT 1 AS `st...', Array) #6 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(596): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT 1 AS `st...', Array) #7 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #8 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Data/Collection/Db/FetchStrategy/Query.php(21): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select), Array) #9 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Data/Collection/AbstractDb.php(774): Magento\Framework\Data\Collection\Db\FetchStrategy\Query->fetchAll(Object(Magento\Framework\DB\Select), Array) #10 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/module-eav/Model/Entity/Collection/AbstractCollection.php(1115): Magento\Framework\Data\Collection\AbstractDb->_fetchAll(Object(Magento\Framework\DB\Select)) #11 /var/www/vhosts/kpsante.fr/httpdocs/generated/code/Magento/Catalog/Model/ResourceModel/Product/Collection/Interceptor.php(1129): Magento\Eav\Model\Entity\Collection\AbstractCollection->_loadEntities(false, false) #12 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/module-eav/Model/Entity/Collection/AbstractCollection.php(913): Magento\Catalog\Model\ResourceModel\Product\Collection\Interceptor->_loadEntities(false, false) #13 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php(758): Magento\Eav\Model\Entity\Collection\AbstractCollection->load(false, false) #14 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Catalog\Model\ResourceModel\Product\Collection->load(false, false) #15 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Catalog\Model\ResourceModel\Product\Collection\Interceptor->___callParent('load', Array) #16 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Model\ResourceModel\Product\Collection\Interceptor->Magento\Framework\Interception\{closure}() #17 /var/www/vhosts/kpsante.fr/httpdocs/generated/code/Magento/Catalog/Model/ResourceModel/Product/Collection/Interceptor.php(195): Magento\Catalog\Model\ResourceModel\Product\Collection\Interceptor->___callPlugins('load', Array, Array) #18 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Data/Collection.php(831): Magento\Catalog\Model\ResourceModel\Product\Collection\Interceptor->load() #19 /var/www/vhosts/kpsante.fr/httpdocs/generated/code/Magento/Catalog/Model/ResourceModel/Product/Collection/Interceptor.php(1766): Magento\Framework\Data\Collection->getIterator() #20 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/module-catalog/Block/Rss/Product/Special.php(130): Magento\Catalog\Model\ResourceModel\Product\Collection\Interceptor->getIterator() #21 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/module-rss/Model/Rss.php(66): Magento\Catalog\Block\Rss\Product\Special->getRssData() #22 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/module-rss/Model/Rss.php(95): Magento\Rss\Model\Rss->getFeeds() #23 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/module-rss/Controller/Feed/Index.php(49): Magento\Rss\Model\Rss->createRssXml() #24 /var/www/vhosts/kpsante.fr/httpdocs/generated/code/Magento/Rss/Controller/Feed/Index/Interceptor.php(24): Magento\Rss\Controller\Feed\Index->execute() #25 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/App/Action/Action.php(107): Magento\Rss\Controller\Feed\Index\Interceptor->execute() #26 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http)) #27 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Rss\Controller\Feed\Index\Interceptor->___callParent('dispatch', Array) #28 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Rss\Controller\Feed\Index\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #29 /var/www/vhosts/kpsante.fr/httpdocs/generated/code/Magento/Rss/Controller/Feed/Index/Interceptor.php(39): Magento\Rss\Controller\Feed\Index\Interceptor->___callPlugins('dispatch', Array, Array) #30 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/App/FrontController.php(55): Magento\Rss\Controller\Feed\Index\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #31 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http)) #32 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array) #33 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #34 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #35 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(73): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #36 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(135): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #37 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #38 /var/www/vhosts/kpsante.fr/httpdocs/generated/code/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, NULL) #39 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #40 /var/www/vhosts/kpsante.fr/httpdocs/generated/code/Magento/Framework/App/Http/Interceptor.php(24): Magento\Framework\App\Http->launch() #41 /var/www/vhosts/kpsante.fr/httpdocs/vendor/magento/framework/App/Bootstrap.php(256): Magento\Framework\App\Http\Interceptor->launch() #42 /var/www/vhosts/kpsante.fr/httpdocs/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #43 {main}