Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev:fire:events needs update #4

Open
jeroen-pon opened this issue Feb 23, 2023 · 1 comment
Open

dev:fire:events needs update #4

jeroen-pon opened this issue Feb 23, 2023 · 1 comment

Comments

@jeroen-pon
Copy link

jeroen-pon commented Feb 23, 2023

When using the dev:fire:events command, I am getting errors thrown about the Area Code not set and also not being able to load an order by order_id. Also the documentation is not up to date about this command anymore, since the --event option is not valid anymore and the example given is for Magento 1.

@peterjaap
Copy link
Contributor

@jeroen-pon usually Area Code not set errors are caused by custom console commands that have a dependency injected in the constructor which (down the line) want to initiate something to do with a customer model. Are you sure this isn't happening here? See this Stackoverflow discussion for more info; https://magento.stackexchange.com/questions/96747/area-code-not-set-issue-in-custom-cli-commands-in-magento-2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants