Skip to content

Conversation

@JarJak
Copy link

@JarJak JarJak commented Jan 2, 2026

Fixes error:
Cannot assign null to property GeoIp2\Model\City::$mostSpecificSubdivision of type GeoIp2\Record\Subdivision

Which happens for example for IP from Hongkong.

Fixes error:
```Cannot assign null to property GeoIp2\Model\City::$mostSpecificSubdivision of type GeoIp2\Record\Subdivision```

Which happens for example for IP from Hongkong.
@horgh
Copy link
Contributor

horgh commented Jan 2, 2026

In which database did you see this? It seems unexpected to have records that would hit this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants