I got an error in system.log
main.ERROR: Environment emulation nesting is not allowed. [] []
Why this came and how to fix this?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityI got an error in system.log
main.ERROR: Environment emulation nesting is not allowed. [] []
Why this came and how to fix this?
First, you need to find out that from which email this issue happening.
If you have using startEnvironmentEmulation()
in your custom email then you should ensure that run stopEnvironmentEmulation
() for emulated environment after doing your work
.
May be stopEnvironmentEmulation
is not called at your code.
See some reference:
stopEnvironmentEmulation
: (
– Attila Naghi
Jan 28 '20 at 12:19