Pregunta

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

¿Fue útil?

Solución

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

Otros consejos

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a magento.stackexchange
scroll top