amasty/module-mage-2.4.5-fix

Fix Product Collection Changes issue in Magento 2.4.5 by Amasty

Installs: 72 909

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 2

Forks: 3

Open Issues: 0

Type:magento2-module

1.0.2 2022-11-25 09:53 UTC

This package is auto-updated.

Last update: 2025-07-05 16:10:18 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.

Other Amasty extensions

-> Cron Scheduler for Magento 2
-> Countdown Timer for Magento 2
-> Cookie Consent (GDPR) for Magento 2
-> Color Swatches Pro for Magento 2
-> ChatGPT AI Content Generator
-> Chat for Magento 2
-> Cash on Delivery for Magento 2
-> Cancel Orders for Magento 2
-> Call for Price for Magento 2
-> California Consumer Privacy Act for Magento 2
-> Blog Pro for Magento 2
-> Price per Unit for Magento 2
-> Banner Slider for Magento 2
-> B2B Ecommerce Suite for Magento 2
-> Advanced Permissions
-> Abandoned Cart Email
-> Improved Layered Navigation
-> Extended Product Grid with Editor