Switch hm_log() for trigger_error()