diff --git a/src/infrastructure/customfield/storage/PhabricatorCustomFieldStorage.php b/src/infrastructure/customfield/storage/PhabricatorCustomFieldStorage.php
--- a/src/infrastructure/customfield/storage/PhabricatorCustomFieldStorage.php
+++ b/src/infrastructure/customfield/storage/PhabricatorCustomFieldStorage.php
@@ -80,6 +80,10 @@
       $object_phid = $row['objectPHID'];
       $value = $row['fieldValue'];
 
+      if (!isset($map[$index]) || !isset($map[$index][$object_phid])) {
+       continue;
+      }
+
       $key = $map[$index][$object_phid];
       $result[$key] = $value;
     }