I am trying to upload Logo through admin panel.

When i am trying to save configuration, it is showing an error.

enter image description here


Actually, it's the Magento issue.

You have to change the code of Magento\Email\Model\AbstractTemplate setForcedArea method

Go to magento-root\vendor\magento\module-email\Model\AbstractTemplate.php and Replace that method code using below one.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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