2

I got an error in system.log

main.ERROR: Environment emulation nesting is not allowed. [] []

Why this came and how to fix this?

0

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:

https://webkul.com/blog/magento2-store-emulation/

|improve this answer|||||
  • I m getting the same error message, even if i added the stopEnvironmentEmulation : ( – Attila Naghi Jan 28 at 12:19

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.