On category page I am getting this exception

Catalog Layer has been already created

I tried to debug it in vendor/magento/module-catalog/Model/Layer/Resolver.php, for the moment i commented the code that triggers exception

public function create($layerType)
    /*if (isset($this->layer)) {
        throw new \RuntimeException('Catalog Layer has been already created');
    if (!isset($this->layersPool[$layerType])) {
        throw new \InvalidArgumentException($layerType . ' does not belong to any registered layer');
    $this->layer = $this->objectManager->create($this->layersPool[$layerType]);
  • Is there any third party extension use for the category layer navigation or something? Jul 8, 2020 at 14:34
  • @DhirenVasoya think there's one from Amasty Jul 8, 2020 at 15:35
  • Try to disable that one and then check. Jul 9, 2020 at 5:13
  • @tarekfellah did you find any solution for this?
    – Nayem323
    Sep 9, 2020 at 16:17
  • Did you solve the issue?
    – Safari
    Oct 31, 2023 at 16:20


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.