Case mismatch between loaded and declared class names: GeoIp2\Compat\JsonSerializable vs GeoIp2\Compat\JSONSerializable
Trace:
[1] RuntimeException: Case mismatch between loaded and declared class names: GeoIp2\Compat\JsonSerializable vs GeoIp2\Compat\JSONSerializable
at n/a
in /path/to/project/vendor/symfony/symfony/src/Symfony/Component/Debug/DebugClassLoader.php line 177
at Symfony\Component\Debug\DebugClassLoader->loadClass('GeoIp2\Compat\JsonSerializable')
in line
at spl_autoload_call('GeoIp2\Compat\JsonSerializable')
in /path/to/project/vendor/geoip2/geoip2/src/Model/AbstractModel.php line 11
at require('/path/to/project/vendor/geoip2/geoip2/src/Model/AbstractModel.php')
in /path/to/project/vendor/symfony/symfony/src/Symfony/Component/Debug/DebugClassLoader.php line 152
at Symfony\Component\Debug\DebugClassLoader->loadClass('GeoIp2\Model\AbstractModel')
in line
at spl_autoload_call('GeoIp2\Model\AbstractModel')
in /path/to/project/vendor/geoip2/geoip2/src/Model/Country.php line 36
at require('/path/to/project/vendor/geoip2/geoip2/src/Model/Country.php')
in /path/to/project/vendor/symfony/symfony/src/Symfony/Component/Debug/DebugClassLoader.php line 152
at Symfony\Component\Debug\DebugClassLoader->loadClass('GeoIp2\Model\Country')
in line
at spl_autoload_call('GeoIp2\Model\Country')
in /path/to/project/vendor/geoip2/geoip2/src/Model/City.php line 58
at require('/path/to/project/vendor/geoip2/geoip2/src/Model/City.php')
in /path/to/project/vendor/symfony/symfony/src/Symfony/Component/Debug/DebugClassLoader.php line 152
at Symfony\Component\Debug\DebugClassLoader->loadClass('GeoIp2\Model\City')
in line
at spl_autoload_call('GeoIp2\Model\City')
in /path/to/project/vendor/geoip2/geoip2/src/Database/Reader.php line 181
at GeoIp2\Database\Reader->modelFor('City', 'City', '195.101.111.115')
in /path/to/project/vendor/geoip2/geoip2/src/Database/Reader.php line 70
at GeoIp2\Database\Reader->city('195.101.111.115')
in /path/to/project/src/Acme/Bundle/ServiceBundle/Service/GeoipService.php line 46
at Ikuw\Bundle\ServiceBundle\Service\GeoipService->geocode(object(Request))
in /path/to/project/src/Acme/Bundle/ServiceBundle/EventListener/TimezoneListener.php line 52
at Ikuw\Bundle\ServiceBundle\EventListener\TimezoneListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
in line
at call_user_func(array(object(TimezoneListener), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
in /path/to/project/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php line 61
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher))
in line
at call_user_func(object(WrappedListener), object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher))
in /path/to/project/app/cache/dev/classes.php line 1791
at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent))
in /path/to/project/app/cache/dev/classes.php line 1724
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.request', object(GetResponseEvent))
in /path/to/project/app/cache/dev/classes.php line 1885
at Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))
in /path/to/project/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php line 124
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))
in /path/to/project/app/bootstrap.php.cache line 3043
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1')
in /path/to/project/app/bootstrap.php.cache line 3016
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true)
in /path/to/project/app/bootstrap.php.cache line 3165
at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true)
in /path/to/project/app/bootstrap.php.cache line 2406
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
in /path/to/project/web/app_dev.php line 29
Message:
Trace: