Magento 2.2.5 | 'Area Code already set' when using CLI Commands

933 Views Asked by At

I installed Magento 2.2.5 (has to be this version) and installed it successfully.

I also used setup:upgrade and setup:di:compile and other commands.

Whenever I want to use config:data:import the CLI reports this error:

[Magento\Framework\Exception\LocalizedException] Area code is already set

I'm using an old dump for now which may cause this error.

Anyone knows how I can fix that? Thank you!

0

There are 0 best solutions below