Magento 2: Showing error on production mode
-
14-04-2021 - |
Solution
This would be caused due to fault in files. So pls deploye contents and di compile . Then flush cache.
OTHER TIPS
its not possible can u check in your env.php file or can you flush your cache ?
php bin/magento cache:flush
update mode with developer mode check https://devdocs.magento.com/guides/v2.4/config-guide/cli/config-cli-subcommands-mode.html guideline for the same.
and than run following commands
php bin/magento setup:di:compile
Above command will show you list of errors you need to solve.
Thanks to belvg,
I had added local.xml to pub/errors which was printing the errors so I renamed the file and the issue was resolved.
for reference: https://belvg.com/blog/developer-mode-and-debugging-in-magento-2.html
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange