Domanda

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

È stato utile?

Soluzione

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

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange
scroll top