Use trigger_error() instead of errorHandle which may not be up yet