SELECT `e`.*, `cat_index`.`position` AS `cat_index_position`, IF(at_status.value_id > 0, at_status.value, at_status_default.value) AS `status`, `smv`.`vendor_name`, `smv`.`vendor_website` FROM `catalog_product_entity` AS `e`
 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'
 INNER JOIN `catalog_product_entity_int` AS `at_status_default` ON (`at_status_default`.`entity_id` = `e`.`entity_id`) AND (`at_status_default`.`attribute_id` = '89') AND `at_status_default`.`store_id` = 0
 LEFT JOIN `catalog_product_entity_int` AS `at_status` ON (`at_status`.`entity_id` = `e`.`entity_id`) AND (`at_status`.`attribute_id` = '89') AND (`at_status`.`store_id` = 1)
 INNER JOIN `sm_vendor` AS `smv` ON smv.vendor_id = e.sm_product_vendor_id WHERE (IF(at_status.value_id > 0, at_status.value, at_status_default.value) = '1') AND (`e`.`entity_id` IN(439911, 3125, 2747, 398604, 380793, 2751, 380825, 400694, 400654, 400534, 2882, 430302, 400676, 398959))

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'e.sm_product_vendor_id' in 'on clause'

#0 /home/devjajuma/public_html/test.schmuckladen/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 /home/devjajuma/public_html/test.schmuckladen/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#3 /home/devjajuma/public_html/test.schmuckladen/app/code/local/Zend/Db/Adapter/Pdo/Abstract.php(240): Zend_Db_Adapter_Abstract->query('SELECT `e`.*, `...', Array)
#4 /home/devjajuma/public_html/test.schmuckladen/lib/Varien/Db/Adapter/Pdo/Mysql.php(428): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `e`.*, `...', Array)
#5 /home/devjajuma/public_html/test.schmuckladen/lib/Zend/Db/Adapter/Abstract.php(734): Varien_Db_Adapter_Pdo_Mysql->query('SELECT `e`.*, `...', Array)
#6 /home/devjajuma/public_html/test.schmuckladen/lib/Varien/Data/Collection/Db.php(740): Zend_Db_Adapter_Abstract->fetchAll('SELECT `e`.*, `...', Array)
#7 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(1047): Varien_Data_Collection_Db->_fetchAll('SELECT `e`.*, `...')
#8 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(871): Mage_Eav_Model_Entity_Collection_Abstract->_loadEntities(false, false)
#9 /home/devjajuma/public_html/test.schmuckladen/lib/Varien/Data/Collection.php(752): Mage_Eav_Model_Entity_Collection_Abstract->load()
#10 [internal function]: Varien_Data_Collection->count()
#11 /home/devjajuma/public_html/test.schmuckladen/app/design/frontend/jajuma/schmuckladen/template/wordpress/post/associated/products.phtml(12): count(Object(Bss_MultiStoreViewPricingPriceGroupTierStore_Model_Resource_Product_Collection))
#12 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Core/Block/Template.php(241): include('/home/devjajuma...')
#13 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/jajuma...')
#14 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#15 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml()
#16 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml()
#17 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml('wp.associated.p...', true)
#18 /home/devjajuma/public_html/test.schmuckladen/app/design/frontend/jajuma/schmuckladen/template/wordpress/post/view.phtml(18): Mage_Core_Block_Abstract->getChildHtml('wp.associated.p...')
#19 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Core/Block/Template.php(241): include('/home/devjajuma...')
#20 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/jajuma...')
#21 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#22 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml()
#23 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#24 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Text_List->_toHtml()
#25 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml()
#26 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#27 /home/devjajuma/public_html/test.schmuckladen/app/design/frontend/jajuma/schmuckladen/template/page/2columns-right.phtml(92): Mage_Core_Block_Abstract->getChildHtml('content')
#28 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Core/Block/Template.php(241): include('/home/devjajuma...')
#29 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/jajuma...')
#30 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#31 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml()
#32 /home/devjajuma/public_html/test.schmuckladen/app/code/local/Inchoo/PHP7/Model/Layout.php(15): Mage_Core_Block_Abstract->toHtml()
#33 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Inchoo_PHP7_Model_Layout->getOutput()
#34 /home/devjajuma/public_html/test.schmuckladen/app/code/community/Fishpig/Wordpress/Controller/Abstract.php(168): Mage_Core_Controller_Varien_Action->renderLayout('')
#35 /home/devjajuma/public_html/test.schmuckladen/app/code/community/Fishpig/Wordpress/controllers/PostController.php(87): Fishpig_Wordpress_Controller_Abstract->renderLayout()
#36 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Fishpig_Wordpress_PostController->viewAction()
#37 /home/devjajuma/public_html/test.schmuckladen/app/code/local/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view')
#38 /home/devjajuma/public_html/test.schmuckladen/app/code/local/SM/Vendors/Controller/Router/Vendor.php(171): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#39 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Core/Controller/Varien/Front.php(172): SM_Vendors_Controller_Router_Vendor->match(Object(Mage_Core_Controller_Request_Http))
#40 /home/devjajuma/public_html/test.schmuckladen/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#41 /home/devjajuma/public_html/test.schmuckladen/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#42 /home/devjajuma/public_html/test.schmuckladen/index.php(89): Mage::run('', 'store')
#43 {main}