1

I tried changing footer copyright in Content->Configuration Edit Active Theme and Change Copyright Message in Footer Tab. But I get Error as "Area is Already Set" on Saving it.

So, How to Change Footer Copyright Message in Magento 2?

  • please can check my answer and let me know if any issues generate. – Rohan Hapani Jun 19 '18 at 19:16
  • Did you add extra rather than my answer? – Sukumar Gorai Jun 19 '18 at 19:35
1

as explained by Sukumar Gorai it is a bug with Magento 2.2.4. Personally I have upgraded to 2.2.6 and it solved the issue. I used the following commands:

sudo composer require magento/product-community-edition 2.0.2 --no-update
sudo composer update
sudo rm -rf var/cache var/di var/generation var/page_cache
sudo php bin/magento cache:clean
sudo php bin/magento cache:flush
sudo php bin/magento setup:upgrade
sudo php bin/magento setup:di:compile
sudo php bin/magento indexer:reindex

followed by a running of a personal script that re-deploys all static content and fixes permissions.

  • You are absolutely right. The issue is in Magento 2.2.4 and its resolved in upper version. +1 from my side. – Sukumar Gorai Oct 5 '18 at 7:41
0

Instead of doing from specific theme

Go to Content > Design > Configuration > Global

Edit it Under Footer tab update copyright text and save it.

0

This is known bug in Magento 2.2.4: https://github.com/magento/magento2/issues/14968

You can resolve this by following:

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

With this:

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.