--- hs_nodereference.module
+++ (clipboard)
@@ -787,7 +787,7 @@
   foreach ($nodereference_typefields as $typefield) {
     list($type, $field_name) = explode('.', $typefield);
     $field = content_fields($field_name, $type);
-    if (in_array($node->type, array_filter($field['referenceable_types']))) {
+    if (isset($node->type) and in_array($node->type, array_filter($field['referenceable_types']))) {
       return $field;
     }
   }
