diff --git a/src/NodaWikidataFetcher.php b/src/NodaWikidataFetcher.php index e97c24f..04e581f 100644 --- a/src/NodaWikidataFetcher.php +++ b/src/NodaWikidataFetcher.php @@ -697,6 +697,7 @@ final class NodaWikidataFetcher { foreach ($nodaLinks as $noda_source => $nodaId) { + if ($nodaId === null) continue; if (!isset(self::URL_PREFIXES_PLACES_NODA_SOURCE[$noda_source])) { throw new Exception("Unknown noda link: " . $noda_source); }