Remove PHP notice when there is a validation error on settings page