Errors when saving node
I had custom code in my module...

function custom_node_presave($node) {

  if(isset($node-&gt;field_gallery_images)) {
    $node-&gt;field_gallery_images[LANGUAGE_NONE][0]['alt']=$node-&gt;title;
    $node-&gt;field_gallery_images[LANGUAGE_NONE][0]['title']=$node-&gt;title;
  }

}


Commenting it out stopped the error