An error has happened during application run. See exception log for details. Magento 2

The topic today is one of the popular errors you will meet. As if the error message shows [“An error has happened during application run. See exception log for details. could not write error message to log. please use developer mode to see the message.” in Magento 2 when you have uploaded Magento CE latest version and want to install it on your server, so what should you do? Here is the right solution for you.

How to resolve: “An error has happened during application run. See exception log for details”

Please open the .htaccess from the root and comment out the first line:

SetEnv MAGE_MODE developer

If you still get any troubles, find this topic: Exception printing is disabled by default for security reasons Magento 2 ask for help by leaving a comment.

Image Description
Sam is the CEO & co-founder of Mageplaza, a company established to support Magento merchants with different powerful tools and resources. Sam Nguyen is also the CEO & founder of Avada Commerce, an e-commerce solution provider headquartered in Singapore – aiming to support more than a million online businesses to grow and develop.

People also searched for

  • magento 2 error happened during application run see exception log details
  • an error has happened during application run. see exception log for details. could not write error message to log. please use developer mode to see the message.
  • magento an error has happened during application run. see exception log for details.
  • an error has happened during application run
  • 2.3.x, 2.4.x
x