Fatal error: Uncaught Error: Call to a member function getItems() on null in /var/www/html/app/code/community/Smile/ElasticSearch/Model/Resource/Catalog/Product/Collection.php:325 Stack trace: #0 /var/www/html/app/code/community/Smile/ElasticSearch/Model/Resource/Catalog/Product/Collection.php(338): Smile_ElasticSearch_Model_Resource_Catalog_Product_Collection->getProductCountBySetId() #1 /var/www/html/app/code/core/Mage/Catalog/Model/Layer.php(290): Smile_ElasticSearch_Model_Resource_Catalog_Product_Collection->getSetIds() #2 /var/www/html/app/code/community/Smile/ElasticSearch/Model/Catalog/Layer.php(79): Mage_Catalog_Model_Layer->_getSetIds() #3 /var/www/html/app/code/community/Smile/ElasticSearch/Block/Catalog/Layer/View.php(138): Smile_ElasticSearch_Model_Catalog_Layer->getFilterableAttributes() #4 /var/www/html/app/code/community/Smile/ElasticSearch/Block/Catalog/Layer/View.php(171): Smile_ElasticSearch_Block_Catalog_Layer_View->_getFilterableAttributes() #5 /var/www/html/app/code/core/Mage/Core/Block/Abstract.php(2 in /var/www/html/app/code/community/Smile/ElasticSearch/Model/Resource/Catalog/Product/Collection.php on line 325