Hello!
Running on Magento 2.2.5 EE.
Im trying to update the Copyright date in the footer.. Im getting this error message upon save. My changes are not taking effect.
PATH:
Admin - Content - Configuration - Edit (by store-view) - Footer
Once I click `SAVE CONFIGURATION` I get this error message:
"Something went wrong while saving this configuration: Area is already set"
Hello @nastassja_bertrand
This was an issue in magento 2.2.5.
To solve this issue you have to edit/override a file : vendor/magento/module-email/Model/AbstractTemplate.php
Replace its content:
public function setForcedArea($templateId)
{
if ($this->area) {
throw new \LogicException(__('Area is already set'));
}
$this->area = $this->emailConfig->getTemplateArea($templateId);
return $this;
}
From :
public function setForcedArea($templateId)
{
if (!isset($this->area)) {
$this->area = $this->emailConfig->getTemplateArea($templateId);
}
return $this;
}
Also attached link with issue : https://magento.stackexchange.com/questions/225628/something-went-wrong-while-saving-this-configurat...
Hope this will surely work for you.
Click Kudos & Accept as Solution
Hello @nastassja_bertrand,
On the Admin sidebar, tap Content. Then under Design, choose Configuration over there you will see your store list - Just edit the very first row from there where website name is also blank!
Edit that first row, click on save button!
then clear cache and check ! it might work for you!
--
If my answer is useful, please Accept as Solution & give Kudos
Thank you!
Our eComm partners are the ones with access to the backend code... Im guessing that 2.2.6 will resolve this issue!!
Have a great day!
Nastassja
Hello!
Yes tried that but no changes are taking effect
Are you able to apply this patch?
MAGETWO-93036