An error regarding the method getCollectionClone

Created by Jane D, Modified on Tue, 30 Jun, 2020 at 9:55 PM by Jane D

QUESTION:

Hi, I use module Layered Navigation v1.1.1 currently. I just upgraded Magento to 2.3.2 version and I'm getting an error regarding the method getCollectionClone.
I'll like to know if you have a patch to solve this?


ANSWER:

To solve this error, please edit the file: app/code/Bss/LayerNavigation/etc/frontend/di.xml (attached below).
And add the line:

<preference for="Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection" type="Bss\LayerNavigation\Model\ResourceModel\Fulltext\Collection" />
Please then run di:compile to have new code.


If you need further assistance, please feel free to leave us a message via https://bsscommerce.com/contact

We'd be happy to support.

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