When Magento is compiled, ReaderFactory will fail to resolve parameters of GeoIp2\Database\Reader that is created through ObjectManager.
It is required to register composer dependency geoip2/geoip2 as Magento library in order for Area configuration aggregation process to sucesfully scan the lib and allow ObjectManager to work with it, even when compiled.
When Magento is compiled,
ReaderFactory
will fail to resolve parameters ofGeoIp2\Database\Reader
that is created throughObjectManager
.It is required to register composer dependency
geoip2/geoip2
as Magento library in order for Area configuration aggregation process to sucesfully scan the lib and allowObjectManager
to work with it, even when compiled.