SQLSTATE[42S22]: Column not found: 1054 Unknown column 'e.status' in 'where clause', query was: SELECT COUNT(DISTINCT e.entity_id) FROM `catalog_product_flat_2` AS `e`
 INNER JOIN `report_viewed_product_index` AS `idx_table` ON (idx_table.product_id=e.entity_id) AND (idx_table.visitor_id = '3854643')
 INNER JOIN `catalog_category_product_index` AS `cat_index` ON cat_index.product_id=e.entity_id AND cat_index.store_id=2 AND cat_index.category_id = '3'
 LEFT JOIN `core_store` AS `store_index` ON store_index.store_id = idx_table.store_id
 LEFT JOIN `core_store_group` AS `store_group_index` ON store_index.group_id = store_group_index.group_id
 LEFT JOIN `catalog_category_product_index` AS `store_cat_index` ON store_cat_index.product_id = e.entity_id AND store_cat_index.store_id = idx_table.store_id AND store_cat_index.category_id=store_group_index.root_category_id WHERE (e.status = 1) AND (cat_index.visibility IN(3, 2, 4) OR store_cat_index.visibility IN(3, 2, 4))

#0 /home/wifisafe/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/wifisafe/public_html/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 /home/wifisafe/public_html/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 /home/wifisafe/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT COUNT(DI...', Array)
#4 /home/wifisafe/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query('SELECT COUNT(DI...', Array)
#5 /home/wifisafe/public_html/lib/Zend/Db/Adapter/Abstract.php(828): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array)
#6 /home/wifisafe/public_html/lib/Varien/Data/Collection/Db.php(225): Zend_Db_Adapter_Abstract->fetchOne(Object(Varien_Db_Select), Array)
#7 /home/wifisafe/public_html/app/code/core/Mage/Reports/Model/Product/Index/Abstract.php(184): Varien_Data_Collection_Db->getSize()
#8 /home/wifisafe/public_html/app/code/core/Mage/Reports/Model/Product/Index/Abstract.php(211): Mage_Reports_Model_Product_Index_Abstract->calculate()
#9 /home/wifisafe/public_html/app/code/core/Mage/Reports/Block/Product/Abstract.php(186): Mage_Reports_Model_Product_Index_Abstract->getCount()
#10 /home/wifisafe/public_html/app/code/core/Mage/Reports/Block/Product/Viewed.php(67): Mage_Reports_Block_Product_Abstract->getCount()
#11 /home/wifisafe/public_html/app/code/core/Mage/Reports/Block/Product/Viewed.php(78): Mage_Reports_Block_Product_Viewed->getCount()
#12 /home/wifisafe/public_html/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Reports_Block_Product_Viewed->_toHtml()
#13 /home/wifisafe/public_html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#14 /home/wifisafe/public_html/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Text_List->_toHtml()
#15 /home/wifisafe/public_html/app/code/core/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml()
#16 /home/wifisafe/public_html/app/code/core/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml('right', true)
#17 /home/wifisafe/public_html/app/design/frontend/wifisafe/default/template/page/3columns.phtml(73): Mage_Core_Block_Abstract->getChildHtml('right')
#18 /home/wifisafe/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/wifisafe/...')
#19 /home/wifisafe/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/wifisa...')
#20 /home/wifisafe/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#21 /home/wifisafe/public_html/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml()
#22 /home/wifisafe/public_html/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#23 /home/wifisafe/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#24 /home/wifisafe/public_html/app/code/community/Fishpig/Wordpress/Controller/Abstract.php(175): Mage_Core_Controller_Varien_Action->renderLayout('')
#25 /home/wifisafe/public_html/app/code/community/Fishpig/Wordpress/controllers/PostController.php(89): Fishpig_Wordpress_Controller_Abstract->renderLayout()
#26 /home/wifisafe/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Fishpig_Wordpress_PostController->viewAction()
#27 /home/wifisafe/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view')
#28 /home/wifisafe/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))
#29 /home/wifisafe/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#30 /home/wifisafe/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#31 /home/wifisafe/public_html/index.php(83): Mage::run('', 'store')
#32 {main}