i have a problem whem i click in an item of my catalogue. My provider send me the following log error and tell me it isn't a server error:

PHP 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/fzquisho/public_html/vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php on line 1582 and defined in /home/fzquisho/public_html/vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php:2475

Can anyone help me? Thanks

  • check error log first and post response here
    – temper
    Nov 13, 2019 at 9:40
  • 1
    It might be issue with your custom theme or custom module. So I would suggest please disable your custom theme and module and see, you are getting this issue or not.
    – Nits
    Nov 13, 2019 at 13:30

1 Answer 1


if you using porto theme with magento 2.3.3 you need to update latest patch follow this link to see more detail Check more detail about solution on this website inclucing patch

if using any other theme contact your theme developer

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.