fbpx

enable error exception logging in Magento 2

Are you unable to see any type of error in Magento 2? To enable error reporting and expiation follow this blog

  1. Go inside root pub/errors folder,
  2. Just copy local.xml.sample to local.xml
  3. Also, you can enable display_errors from app/bootstrap.php file. At line no. 11 remove # from the start of the line.
  4. Now the final statement displays as ini_set(‘display_errors’, 1);

Leave a Reply

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