How to turn on error messages in magento 2 Home » How to turn on error messages in magento 2 Posted on December 29, 2023 KevinLatest In Blogs To turn on error messages in Magento 2 Add following code in index.php file – error_reporting(E_ALL); ini_set('display_errors', 1); Related