How to fix the incompatible issue on Magento 2.4?

Created by Rosa Truong, Modified on Mon, 16 Nov, 2020 at 4:04 PM by Rosa Truong

Issue:


We installed the Layered Navigation version 1.1.6 on M2.4 but getting errors. See below - can you advise?

1 exception(s):
Exception #0 (Magento\Framework\Exception\RuntimeException): Type Error occurred when creating object: Bss\LayerNavigation\Model\ResourceModel\Fulltext\Collection\Interceptor

Exception #0 (Magento\Framework\Exception\RuntimeException): Type Error occurred when creating object: Bss\LayerNavigation\Model\ResourceModel\Fulltext\Collection\Interceptor

Solution:


This issue is caused due to that our module does not support Magento 2.4 at this time.

However, we have provided the hot-fix solution to make our module work well on Magento 2.4 now.

We have modified two files 
app/code/Bss/Model/ResourceModel/Fulltext/Collection.php
app/code/Bss/etc/frontend/di.xml
and deleted this file app/code/Bss/Model/ResourceModel/Search/FilterMapper.php


Please check and replace these files on your site to solve the problem.


If you need any further support, please feel free to contact us.

We are willing to support you.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article