NikZh / magento2-multiple-layered-navigation

Category filters with multiple select for Magento 2
69 stars 39 forks source link

Not working in 2.3.2 #36

Open lexiconnect opened 5 years ago

lexiconnect commented 5 years ago

This module has been great, but it appears to have stopped working after upgrading to 2.3.2

The error seems to relate to foreach ($productCollection->getAddedFilters() as $field => $condition) {

It doesn't look like the module Fulltext\Collection is being used by Magento - not sure if this is a di problem or not - anyone else having this issue?

easyoptical commented 5 years ago

We're also seeing this issue. getAddedFilters() is a method of this module, not Fulltext\Collection, hence the exception.

Will post here if/when we get this working with 2.3.2

easyoptical commented 5 years ago

See https://github.com/magento/magento2/issues/7734#issuecomment-277308317 I think the issue and proposed fix is the same here. Disabling Elasticsearch (php bin/magento module:disable Magento_Elasticsearch) also works.

klemus commented 4 years ago

Same issue. Disabling Magento_Elasticsearch did work for me though.

klemus commented 4 years ago

@easyoptical Did you get this working in 2.3.2 without having to disable Elasticsearch?

purvid0204 commented 4 years ago

Its working when we disable Elasticsearch with its depends modules in magento 2.3.2.

thanura commented 4 years ago

For Magento 2 Commerce need to set the preference as below <preference for="Magento\CatalogStaging\Model\ResourceModel\Fulltext\Collection" type="Niks\LayeredNavigation\Model\ResourceModel\Fulltext\Collection" />