Ben PHP hata işleme fonksiyonu ile ilgili bu hatayı alıyorum.
Undefined offset: 1
Burada hata işleme kodu:
function customError($errno, $errstr)
{
error_log("Error: [$errno] $errstr",1,"ah@mysite.com","From: ah@mysite.com");
die();
}
//set error handler
set_error_handler("customError");
Herkes hataya neyin sebep olduğunu işaret yardımcı olabilir misiniz?