See More

getMessage(); } restore_error_handler(); function handleError($errorNumber, $errorString, $errorFile, $errorLine) { if (strpos($errorString, 'Undefined index') !== FALSE) { throw new ArrayFieldNotSet($errorString, $errorNumber, NULL, $errorFile, $errorLine); } }