cancel
Showing results for 
Search instead for 
Did you mean: 

unable to change Website HTML Head,Header,Footer or any detail

SOLVED

unable to change Website HTML Head,Header,Footer or any detail

I am very new.

I am trying to change my website logo, html header, footer.

i upload image and click save configuration then i got error ---

"Something went wrong while saving this configuration: Area is already set"

 his happen on all editing on page option. I am here--- Content---Design---Configuration---theme edit.  on this page if i try anything to update or change then got same error.  Magento 2.2 theme luma. please some one help me

 

i have one-click Softaculous Magento installion 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: unable to change Website HTML Head,Header,Footer or any detail

This is a known issue in Magento 2.2.4 (GitHub issue).
You should not directly change the Magento core file (override or create a plugin):
Change in Magento\Email\Model\AbstractTemplate.php:

 

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

change if condition with below line:

 

 if (!isset($this->area)) {

// code
}

It will help you.

if issue solved,Click Kudos & Accept as Solution

View solution in original post

1 REPLY 1

Re: unable to change Website HTML Head,Header,Footer or any detail

This is a known issue in Magento 2.2.4 (GitHub issue).
You should not directly change the Magento core file (override or create a plugin):
Change in Magento\Email\Model\AbstractTemplate.php:

 

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

change if condition with below line:

 

 if (!isset($this->area)) {

// code
}

It will help you.

if issue solved,Click Kudos & Accept as Solution