Closed reense closed 2 years ago
Hello @reense,
Thanks for opening this issue.
We investigated this message before (see #534) and we concluded that this is caused by a Magento bug, see this issue for more info: magento/magento2#35603.
This isn’t something we can’t fix on our side so we are going to close this issue, but feel free to reopen if you have any further questions.
Hey @Frank-Magmodules ! Thank you for reaction. Sorry, I hadn't seen that issue, I've must've not searched properly 🙂. I'll keep an eye out for that Magento issue!
Describe the bug Hello,
Recently I've been getting a lot of 'Environment emulation nesting is not allowed' notices in
var/log/system.log
. I altered the logic that emits this message, and added a stack trace, which leads me to your Invoice sender:I'm unsure if this is a bug caused by your module, or that it's a Magento core bug. However, since the area code cannot be properly set, translations will not be loaded properly.
Used versions
To Reproduce
Expected behavior No error is thrown, preventing environment emulation.
Actual behavior Emulation emulation is prevented because an environment is already emulated.