diff --git a/src/Fieldtypes/Entries.php b/src/Fieldtypes/Entries.php index 48b2795c9d..e718255cff 100644 --- a/src/Fieldtypes/Entries.php +++ b/src/Fieldtypes/Entries.php @@ -289,7 +289,7 @@ protected function getCreatables() throw_if(! $collection, new CollectionNotFoundException($collectionHandle)); - if (! $user->can('create', [EntryContract::class, $collection])) { + if (! $user || ! $user->can('create', [EntryContract::class, $collection])) { return null; }