There has been an error processing your request

There has been an error processing your request

SELECT `e`.*, `at_stock_status`.`stock_status`, `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`, `cat_index`.`position` AS `cat_index_position`, IF(at_name.value_id > 0, at_name.value, at_name_default.value) AS `name` FROM `catalog_product_entity` AS `e`
 INNER JOIN `cataloginventory_stock_status` AS `at_stock_status` ON (at_stock_status.`product_id`=e.entity_id) AND (at_stock_status.stock_status = '1') AND (at_stock_status.website_id = '1')
 INNER JOIN `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
 INNER JOIN `catalog_category_product_index` AS `cat_index` ON cat_index.product_id=e.entity_id AND cat_index.store_id='1' AND cat_index.visibility IN(2, 4) AND cat_index.category_id = '2'
 LEFT JOIN `catalog_product_entity_varchar` AS `at_name_default` ON (`at_name_default`.`entity_id` = `e`.`entity_id`) AND (`at_name_default`.`attribute_id` = '60') AND `at_name_default`.`store_id` = 0
 LEFT JOIN `catalog_product_entity_varchar` AS `at_name` ON (`at_name`.`entity_id` = `e`.`entity_id`) AND (`at_name`.`attribute_id` = '60') AND (`at_name`.`store_id` = 1) WHERE (`e`.`entity_id` IN('')) ORDER BY `stock_status`.`stock_status` desc, `name` asc, `cat_index`.`position` asc, `cat_index`.`position` asc, `e`.`entity_id` asc LIMIT 9


Trace: #0 /home/scharfes/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array) #1 /home/scharfes/public_html/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array) #2 /home/scharfes/public_html/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #3 /home/scharfes/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `e`.*, `...', Array) #4 /home/scharfes/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `e`.*, `...', Array) #5 /home/scharfes/public_html/lib/Magento/Db/Adapter/Pdo/Mysql.php(176): Varien_Db_Adapter_Pdo_Mysql->query('SELECT `e`.*, `...', Array) #6 /home/scharfes/public_html/lib/Zend/Db/Adapter/Abstract.php(737): Magento_Db_Adapter_Pdo_Mysql->query('SELECT `e`.*, `...', Array) #7 /home/scharfes/public_html/lib/Varien/Data/Collection/Db.php(740): Zend_Db_Adapter_Abstract->fetchAll('SELECT `e`.*, `...', Array) #8 /home/scharfes/public_html/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(1049): Varien_Data_Collection_Db->_fetchAll('SELECT `e`.*, `...') #9 /home/scharfes/public_html/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(874): Mage_Eav_Model_Entity_Collection_Abstract->_loadEntities(false, false) #10 /home/scharfes/public_html/lib/Varien/Data/Collection.php(752): Mage_Eav_Model_Entity_Collection_Abstract->load() #11 /home/scharfes/public_html/app/code/local/Fme/Brands/Block/Product/List.php(158): Varien_Data_Collection->count() #12 /home/scharfes/public_html/app/code/core/Mage/Core/Block/Abstract.php(924): Fme_Brands_Block_Product_List->_toHtml() #13 /home/scharfes/public_html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml() #14 /home/scharfes/public_html/app/code/core/Mage/Core/Block/Abstract.php(924): Mage_Core_Block_Text_List->_toHtml() #15 /home/scharfes/public_html/app/code/core/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml() #16 /home/scharfes/public_html/app/code/core/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml('content', true) #17 /home/scharfes/public_html/app/design/frontend/default/tojiro/template/page/3columns.phtml(59): Mage_Core_Block_Abstract->getChildHtml('content') #18 /home/scharfes/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/scharfes/...') #19 /home/scharfes/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...') #20 /home/scharfes/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() #21 /home/scharfes/public_html/app/code/core/Mage/Core/Block/Abstract.php(924): Mage_Core_Block_Template->_toHtml() #22 /home/scharfes/public_html/app/code/core/Mage/Core/Model/Layout.php(558): Mage_Core_Block_Abstract->toHtml() #23 /home/scharfes/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput() #24 /home/scharfes/public_html/app/code/local/Fme/Brands/controllers/IndexController.php(162): Mage_Core_Controller_Varien_Action->renderLayout() #25 /home/scharfes/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Fme_Brands_IndexController->viewAction() #26 /home/scharfes/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view') #27 /home/scharfes/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #28 /home/scharfes/public_html/app/code/core/Mage/Core/Model/App.php(381): Mage_Core_Controller_Varien_Front->dispatch() #29 /home/scharfes/public_html/app/Mage.php(687): Mage_Core_Model_App->run(Array) #30 /home/scharfes/public_html/index.php(97): Mage::run('tojiro', 'website') #31 {main}

Error log record number: 1336849227234