Fix the issue that module does not work on Magento 2.2.x

Created by Support Agent, Modified on Tue, 14 Apr at 9:04 AM by Support Agent

Issue


We installed version 1.1.5 on Magento 2.2.x and got the issue

Fatal error: Class 'Magento\Elasticsearch\SearchAdapter\Query\Builder\Sort' not found in /home/nybargai/public_html/app/code/Bss/LayerNavigation/Plugin/Elasticsearch/SearchBuilderSort.php on line 30 


Solution:


With the Elastic search issue, since Magento 2.2.x does not have class Elastic search, so our module current version does not work on M2.2.x (Elastic search is on the Magento 2.3.x and above).

However, we have hot-fixed to remove the Elastic search to resolve this issue.

To get the fixed package, could you please feel free to send us an email to sales@bsscommerce.com?

When we receive your request, we will send back to you the fixed package of which removes the Elastic search.


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

We are always willing to support you.


Learn more about us!!


BSS Commerce is a trusted Magento 2 extensions provider with 14+ years of experience, serving 75,000+ customers worldwide. We are an Adobe Commerce Solution Bronze Partner and a Select Magento Extensions Builder, reinforcing our expertise in the Magento ecosystem.


We specialize in developing 150+ high-quality Magento 2 extensions that enhance functionality, improve user experience, and support scalable growth. Our reputation is built on long-term partnerships, positive feedback, and proven performance-driven solutions.


Explore our extensions: https://bsscommerce.com/magento-2-extensions.html 


Get our extensions now:


If you need any further assistance, please feel free to contact us. We'd be happy 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