diff --git a/src/Repositories/BlueprintRepository.php b/src/Repositories/BlueprintRepository.php index c2f01b4..4ff0089 100644 --- a/src/Repositories/BlueprintRepository.php +++ b/src/Repositories/BlueprintRepository.php @@ -74,6 +74,10 @@ public function find($blueprint): ?StatamicBlueprint public static function findBlueprint($namespace, $handle): ?Blueprint { + if ($namespace === null) { + return null; + } + $registeredBlueprints = config('statamic.builder.blueprints', []); $namespace = str_replace('/', '.', $namespace);