Magento2 : An error has happened during application run. See exception log for details.

In Magento2 when we remove the modules from the directory, It will show the blank page with the below error message.

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

To solve this issue we need to follow the below steps.

1.Change it to developer mode if you are in different mode.

Php magento deploy:mode:set developer

2. Give write permission to var/ pub/ directory

chmod -R 777 var/ pub/

3. Deploy static content

Php magento Setup:static-content:deply

Now the site will be up and run without any issues.

Hope it helps for someone who starts to work on Magento2

5 Comments

  1. Hello Mohan,

    You did such a great job for sharing this solution.

    You saved my whole day and it means a lot to me.

    Thanks 🙂

    1. Mohan Natarajan November 3, 2016 at 7:41 am

      You are welcome Snehal.

  2. that’s missing bin folder :
    $ php bin/magento deploy:mode:set developer
    $ php bin/magento setup:static-content:deploy

    Thanks

  3. Hello Mohan,

    I’m getting this error
    “An error has happened during application run. See exception log for details.”

    you have mentioned steps but I don’t where to implement them please kindly help me where to implement these steps.

  4. Do you know about how we reinstall download backup data in magento 2.1?

Leave a Comment

Your email address will not be published. Required fields are marked *


9 − 2 =