You just forgot to remove the line containing trigger_error call.