cancel
Showing results for 
Search instead for 
Did you mean: 

Configuration Error

Configuration Error

Hi,

 

I have installed a third party theme. 

 

I'm unable to set fevicon or switch 'Display Demo Store Notice' to 'Yes' or do any config setting for that matter.

I went to Content --> configuration -> Edit (main store) > HTML head ->  Display Demo Store Notice to yes but nothing happens. 

Error says - 'Something went wrong while saving this configuration: Area is already set'.

 

Please help. 

 

Thanks in advance. 

2 REPLIES

Re: Configuration Error

Hi @himanshu_bhatnagar

 

This issue is reported on GitHub :- GitHub Issue

 

Change in Magento\Email\Model\AbstractTemplate.php

 

From:

 

public function setForcedArea($templateId)
{
    if ($this->area) {
        throw new \LogicException(__('Area is already set'));
    }
    $this->area = $this->emailConfig->getTemplateArea($templateId);
    return $this;
}

To:

 

public function setForcedArea($templateId)
{
    if (!isset($this->area)) {
        $this->area = $this->emailConfig->getTemplateArea($templateId);
    }
    return $this;
}

 

If Issue Solved, Click Kudos/Accept As solutions. 

Re: Configuration Error

@Prince Patel

 

Tried this but was getting the same error when I tried editing the Global Configuration.

But when I edit the 'store view' specifically it will be inherited by the Website and Global Configurations, It worked.

 

Now, this raises another question in my mind, what is the difference between the 3 'edit' on 'Design Configuration' ?

 

Thanks.