문제

When I am running any of the consumers command from the console:

bin/magento queue:consumers:start exportProcessor

I am getting the following exception from the vendor/magento/framework/App/State.php, method: setAreaCode($code): Area code is already set.

My current magento version is: 2.3.4. Do you have any ideas why am i getting that exception ?

Thank you

도움이 되었습니까?

해결책

This looks like a custom piece of code trying to set again the area code, while it is already set at a higher level. Search for usages of the setAreaCode() and see if you can isolate the culprit one.

Check this link, maybe it helps you https://support.klevu.com/knowledgebase/resolving-area-code-already-set/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top