2

I am facing this error in version magento 2.3 while saving header logo.

Actually this issue is resolved as per gihub but even it is coming.link

1

1 Answer 1

0

When you change in vendor\magento\module-email\Model\AbstractTemplate.php this:

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;
}

It will work.

4
  • it is already resolved in magento 2.3 Commented Feb 11, 2019 at 12:37
  • Ok. But double check it. Commented Feb 11, 2019 at 12:38
  • this code is not there Commented Feb 11, 2019 at 12:39
  • Ok. Thats the issue. Commented Feb 11, 2019 at 12:40

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.