I have a Magento 2 store and Its just showing me the blank page. How can I enable error reporting for Magento 2
To enable error reporting and print the error info directly for Magento 2 blank page.
- Step 1:
Connecting to your server via FTP/SFTP or Cpanel and find Magneto root folder - Step 2:
Open “index.php” file and insert the following codes after frst “error_reporting(E_ALL); ini_set(‘display_errors’, 1); - Step 3:
Refreshing your Magento 2 blank page and you will see the error info