cancel
Showing results for 
Search instead for 
Did you mean: 

The design config needs an area and a store. Verify that both are set and try again.

The design config needs an area and a store. Verify that both are set and try again.

Hi, I have a problem trying to send transactional emails with Mageplaza SMTP Extension, I get the follow error when test email: 

Error

The design config needs an area and a store. Verify that both are set and try again.
 
Checking the log: 
 
The design config needs an area and a store. Verify that both are set and try again. {"exception":"[object] (Magento\\Framework\\Exception\\LocalizedException(code: 0): The design config needs an area and a store. Verify that both are set and try again. at public_html/my_store/vendor/magento/module-email/Model/AbstractTemplate.php:622)"} []
 
Where the line number 622:
 
public function setDesignConfig(array $config)
{
if (!isset($config['area']) || !isset($config['store'])) {
throw new LocalizedException(
__('The design config needs an area and a store. Verify that both are set and try again.')
);
}
$this->getDesignConfig()->setData($config);
return $this;
}
 
Somebody can help me? I dont have any idea where is the problem.
 
Thanks.