Undefined index error in log
You can avoid the notice error by checking if that field has data, e.g

if (isset($node-&gt;field_recipe_skill_audio[$node-&gt;language][0]['filename'])) {
  /* Do stuff */
}


or

if (isset($node-&gt;field_recipe_skill_audio[LANGUAGE_NONE][0]['filename'])) {
  /* Do stuff */
}