Fatal error: Uncaught TypeError: Return value of Application\Service\IndexService::getCountryCodeByGeoIP() must be of the type string or null, object returned in /var/www/guesttoguest/module/Application/src/Application/Service/IndexService.php:271
Stack trace:
#0 /var/www/guesttoguest/module/Application/Module.php(144): Application\Service\IndexService->getCountryCodeByGeoIP(Object(Zend\Http\PhpEnvironment\Request))
#1 [internal function]: Application\Module->onBootstrap(Object(Zend\Mvc\MvcEvent))
#2 /var/www/guesttoguest/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#3 /var/www/guesttoguest/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('bootstrap', Object(Zend\Mvc\MvcEvent), Array)
#4 /var/www/guesttoguest/vendor/zendframework/zendframework/library/Zend/Mvc/Application.php(157): Zend\EventManager\EventManager->trigger('bootstrap', Object(Zend\Mvc\Mvc in /var/www/guesttoguest/module/Application/src/Application/Service/IndexService.php on line 271