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/xs3swbry/public_html/vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php on line 1582 and defined in /home/xs3swbry/public_html/vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php:2475 Stack trace: #0 /home/xs3swbry/public_html/vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php(1582): Magento\Catalog\Model\ResourceModel\Product\Collection->addIsSaleableAttributeToFilter(1) #1 /home/xs3swbry/public_html/app/code/Smartwave/Porto/Helper/Data.php(143): Magento\Catalog\Model\ResourceModel\Product\Collection->addAttributeToFilter('is_saleable', 1, 'left') #2 /home/xs3swbry/public_html/app/code/Smartwave/Porto/Helper/Data.php(158): Smartwave\Porto\Helper\Data->getCategoryProductIds(Object(Magento\Catalog\Model\Category\Interceptor)) #3 /home/xs3swbry/public_htm in /home/xs3swbry/public_html/vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php on line 2475