Search by

amasty / module-mage-2.4.5-fix

AmastyLtd

Mage 2.4.5 fix by Amasty

Package info

github.com/AmastyLtd/module-mage-2.4.5-fix

Homepage

Type:magento2-module

pkg:composer/amasty/module-mage-2.4.5-fix

Statistics

Installs: 95 359

Dependents: 0

Suggesters: 0

Stars: 6

Open Issues: 0

1.0.3 2026-06-29 12:48 UTC

This package is auto-updated.

Last update: 2026-08-29 13:06:00 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