I'm facing an issue like errors are show on PRODUCTION mode, how can this be possible. Anyone have any idea how can this be resolved?

enter image description here

有帮助吗?

解决方案

This would be caused due to fault in files. So pls deploye contents and di compile . Then flush cache.

其他提示

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

许可以下: CC-BY-SA归因
scroll top