Quote Originally Posted by SignTorch View Post
$_SERVER['REMOTE_ADDR'] can be empty, which causes the error

I think you can suppress the error with @
Code:
case (@strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])):
or clarify the case condition
Code:
case (!empty($_SERVER['REMOTE_ADDR'])&&strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])):
Thanks - but suppressing the error is not much good to me, I would like to know the reason for this error.