Turning off error reporting in php Change this error_reporting(E_ALL & ~E_NOTICE); To this error_reporting(0); **base.php