I’ve created a plugin in Magento 2.4.5 to overwrite MagentoCatalogSearchModelLayerFilterPrice ‘s method. <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <type name="MagentoCatalogSearchModelLayerFilterPrice"> <plugin name="magento_core_price" type="MyVendorMyModuleModelMagentoPrice" sortOrder="1" /> </type> </config> After that I’m getting following error: Cannot instantiate interface MagentoCatalogModelLayerContextInterface I’ve already tried to clear cache, to upgrade, to setup:di:compile , to remove the […]