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

Created by Rosa Truong, Modified on Fri, 10 Jul 2020 at 09:54 AM by Rosa Truong

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.

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 atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article