diff --git a/modules/gnode/gnode.module b/modules/gnode/gnode.module
index 80c699e..6752c05 100644
--- a/modules/gnode/gnode.module
+++ b/modules/gnode/gnode.module
@@ -131,11 +131,14 @@ function gnode_node_access(NodeInterface $node, $op, AccountInterface $account)
     return AccessResult::neutral();
   }
 
-  // Load all the group content for this node.
-  $group_contents = \Drupal::entityTypeManager()
-    ->getStorage('group_content')
-    ->loadByProperties(['type' => array_keys($group_content_types), 'entity_id' => $node->id()]);
+  $group_content = [];
 
+  // Load all the group content for this node.
+  if (!$node->isNew()) {
+    $group_contents = \Drupal::entityTypeManager()
+      ->getStorage('group_content')
+      ->loadByProperties(['type' => array_keys($group_content_types), 'entity_id' => $node->id()]);
+  }
 
   // If the node does not belong to any group, we have nothing to say.
   if (!count($group_contents)) {
