Fatal error: Uncaught Exception: [Microsoft][ODBC Driver 13 for SQL Server][SQL Server]'geography::Point' failed because parameter 1 is not allowed to be null. in C:\server\flightscanner\branches\production\app\db\MsSQL.php:100 Stack trace: #0 C:\server\flightscanner\branches\production\app\lib\cmsf.php(65): app\db\MsSQL->query('select top 1 ea...', Array) #1 C:\server\flightscanner\branches\production\app\lib\cmsf.php(8): app\lib\cmsf::setDeparturePoint(Object(app\http\models\SessionItem)) #2 C:\server\flightscanner\branches\production\app\http\middleware\Session.php(25): app\lib\cmsf::setUserPreferences(Object(app\http\models\SessionItem)) #3 C:\server\flightscanner\branches\production\app\Main.php(75): app\http\middleware\Session->handleRequest(Object(app\http\Request)) #4 C:\server\flightscanner\branches\production\app\Main.php(62): app\Main->app\{closure}(Object(app\http\middleware\Session), Object(app\http\Request)) #5 C:\server\flightscanner\branches\production\app\Main.php(76): app\Main->getMiddleWares(Object(Clos in C:\server\flightscanner\branches\production\app\db\MsSQL.php on line 100