I am hoping that someone can help me with this.

I have just upgraded to 2.3.3-p1 from 2.3.2 & I know I have reservation inconsistencies that need fixing but I get an error when I try to run the CLI command as listed on their documentation here: https://devdocs.magento.com/guides/v2.3/inventory/inventory-cli-reference.html

Here's what I'm running (running as www-data user):

$ sudo -uwww-data -gwww-data php -d memory_limit=-1 bin/magento inventory:reservation:list-inconsistencies

And the error:

In State.php line 153:

  Area code is not set 

It's probably worth mentioning that I have truncated the inventory_reservation table to no avail

Any help would be appreciated


Your Answer

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

Browse other questions tagged or ask your own question.