Fatal error: Call to a member function prepare() on null in /var/www/quotatrip/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/PdoSessionHandler.php on line 335

Fatal error: Uncaught exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Error: Call to a member function prepare() on null' in /var/www/quotatrip/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/PdoSessionHandler.php:335 Stack trace: #0 {main} Next exception 'InvalidArgumentException' with message 'The file "../web/GeoLite2-City.mmdb" does not exist or is not readable.' in /var/www/quotatrip/vendor/maxmind-db/reader/src/MaxMind/Db/Reader.php:52 Stack trace: #0 /var/www/quotatrip/vendor/geoip2/geoip2/src/Database/Reader.php(54): MaxMind\Db\Reader->__construct('../web/GeoLite2...') #1 /var/www/quotatrip/src/AppBundle/EventListener/LocaleSubscriber.php(42): GeoIp2\Database\Reader->__construct('../web/GeoLite2...') #2 /var/www/quotatrip/src/AppBundle/EventListener/LocaleSubscriber.php(81): QT\AppBundle\EventListener\LocaleSubscriber->getDefaultLocale('172.69.59.171') #3 [internal function]: QT\AppBundle\EventListener\LocaleSubscriber->onKernelRequest(Object(Sym in /var/www/quotatrip/vendor/maxmind-db/reader/src/MaxMind/Db/Reader.php on line 52