cancel
Showing results for 
Search instead for 
Did you mean: 

Magento Disable All Error Printing

Magento Disable All Error Printing

I was tring to disable all error printing for a Magento site.

Try to update index.php with following lines

error_reporting(0);ini_set('display_errors', 0);

But it didn't change anything.

So I had to make an update in php.ini file with display_errors = Off

And then all error printing stopped.

Anyone know how we can disable error printing properly in Mangeto?