People who code: we want your input. Take the Survey

Questions tagged [production-mode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
16
votes
2answers
18k views

Magento 2 error: We're sorry, an error has occurred while generating this email

I am getting below error in magento 2 local system. We're sorry, an error has occurred while generating this email.
8
votes
2answers
11k views

Magento 2 : What are difference between developer and production mode?

What are the different facility we have between developer and production mode of Magento 2.x ?
5
votes
1answer
4k views

Magento 2: js-translation.json 404 (Not Found) on production mode

After switching to the production mode, an error appeared in the console : pub/static/adminhtml/Magento/backend/en_US/js-translation.json 404 (Not Found) pub/static/adminhtml/Magento/backend/en_US/js-...
12
votes
1answer
3k views

Get Magento 2 mode programatically

What's the best way to get the current mode Magento 2 is running with code? In my case it's for a headless Magento, but I can see a number of cases where this might be required.
1
vote
3answers
1k views

Production mode is not working

Changing site to production mode display below error on command terminal in (red color): Enabled maintenance mode Starting compilation Compilation was started. ..... ..... Generated code and ...
0
votes
3answers
181 views

Magento 2.3.4 - Best practice to do update magento files and modules without affect the website in Production Mode

If i update any modules or disable extensions my website showing an error message, i do following all the commands then coming back to normal, rm -rf var/di/* var/generation/* var/cache/* var/log/* ...
-1
votes
2answers
888 views

Set production mode magento 2.3

I want to switch to production mode but I can not find information about the exact commands that I have to use. I know that I must use this command: php bin/magento deploy:mode:set production But, ...