Skip to content

Theme vs Extension – What is the the correct way to remove a conflict? Magento 2 – Port Theme vs Mirasvit Layered Navigation

I am using Magento 2 with the Porto Theme and the Mirasvit Layered Navigation Extension. Currently I am getting an error because the Mirasvit Layered Extension is expecting a MirasvitLayeredNavigationModelResourceModelFulltextCollection but instead a MageplazaLayeredNavigationModelResourceModelFulltextCollectionInterceptor is being returned.

TypeError: MirasvitLayeredNavigationModelLayerFilterAbstractFilter::getProductCollection(): Return value must be of type MirasvitLayeredNavigationModelResourceModelFulltextCollection, MageplazaLayeredNavigationModelResourceModelFulltextCollectionInterceptor returned

Apolgies for this perhaps basic question but what is the correct approach to deactivate the themes attempt to handle the layered navigation so that the extension is used instead?

Thanks in advance.