amasty/module-mage-2.4.5-fix

Fix Product Collection Changes issue in Magento 2.4.5 by Amasty

Installs: 44 900

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 1

Forks: 2

Open Issues: 0

Type:magento2-module

1.0.2 2022-11-25 09:53 UTC

This package is auto-updated.

Last update: 2024-05-26 13:19:36 UTC


README

After upgrade Magento to version 2.4.5 you can see this error: TypeError: Magento\Elasticsearch\Model\ResourceModel\Fulltext\Collection\SearchResultApplier::categoryProductByCustomSortOrder(): Argument #1 ($categoryId) must be of type int, array given

This bug is related to the latest Magento changes and custom extensions like Amasty Improved Layered Navigation.

To see more information

magento/magento2#35918

If you are Amasty customer, you can fix this error by installing additional package from our private repository:

composer require amasty/module-mage-2.4.5-fix

But this case can be reproduced without our extension. This is why we made this package public.