Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Catalog\Model\ResourceModel\Product\Collection::addIsSaleableAttributeToFilter() must be of the type array or null, integer given, called in /home/anupamsuperstore/public_html/vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php on line 1582 and defined in /home/anupamsuperstore/public_html/vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php:2475 Stack trace: #0 /home/anupamsuperstore/public_html/vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php(1582): Magento\Catalog\Model\ResourceModel\Product\Collection->addIsSaleableAttributeToFilter(1) #1 /home/anupamsuperstore/public_html/app/code/Sm/ListingTabs/Block/ListingTabs.php(418): Magento\Catalog\Model\ResourceModel\Product\Collection->addAttributeToFilter('is_saleable', 1, 'left') #2 /home/anupamsuperstore/public_html/app/code/Sm/ListingTabs/Block/ListingTabs.php(272): Sm\ListingTabs\Block\ListingTabs->_getProductsBasic(Array, true) #3 [internal fun in /home/anupamsuperstore/public_html/vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php on line 2475