how to fix this error please i need to make command compile but i get this error
Class Magento\Catalog\Model\Config\LayerCategoryConfig does not exist
Class Mirasvit\Search\Model\Layer\FilterList\Interceptor generation error: The requested
class did not generate properly, because the 'generated' directory permission is read-o
nly. If --- after running the 'bin/magento setup:di:compile' CLI command when the 'gener
ated' directory permission is set to write --- the requested class did not generate prop
erly, then you must add the generated class object to the signature of the related const
ruct method, only.