A PHP Error was encountered

Severity: Warning

Message: Undefined array key 0

Filename: controllers/Travel.php

Line Number: 440

Backtrace:

File: /var/www/html/application/controllers/Travel.php
Line: 440
Function: _error_handler

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "latitude" on null

Filename: controllers/Travel.php

Line Number: 442

Backtrace:

File: /var/www/html/application/controllers/Travel.php
Line: 442
Function: _error_handler

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "longitude" on null

Filename: controllers/Travel.php

Line Number: 442

Backtrace:

File: /var/www/html/application/controllers/Travel.php
Line: 442
Function: _error_handler

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "nearbyroaddhead_latitude" on null

Filename: controllers/Travel.php

Line Number: 442

Backtrace:

File: /var/www/html/application/controllers/Travel.php
Line: 442
Function: _error_handler

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "nearbyroaddhead_longitude" on null

Filename: controllers/Travel.php

Line Number: 442

Backtrace:

File: /var/www/html/application/controllers/Travel.php
Line: 442
Function: _error_handler

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: file_get_contents(https://dev.virtualearth.net/REST/v1/Routes/DistanceMatrix?origins=9.15124,76.730766&destinations=,&travelMode=driving&key=AuNLCLnKbyiCfYkGCdUjeS_x-lnYlo741UkjRXZVB-HLcn2uDNGYil8fd0O8rjfY): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request

Filename: models/Locations_model.php

Line Number: 694

Backtrace:

File: /var/www/html/application/models/Locations_model.php
Line: 694
Function: file_get_contents

File: /var/www/html/application/controllers/Travel.php
Line: 442
Function: getroaddistance

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "resourceSets" on null

Filename: models/Locations_model.php

Line Number: 718

Backtrace:

File: /var/www/html/application/models/Locations_model.php
Line: 718
Function: _error_handler

File: /var/www/html/application/controllers/Travel.php
Line: 442
Function: getroaddistance

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Trying to access array offset on value of type null

Filename: models/Locations_model.php

Line Number: 718

Backtrace:

File: /var/www/html/application/models/Locations_model.php
Line: 718
Function: _error_handler

File: /var/www/html/application/controllers/Travel.php
Line: 442
Function: getroaddistance

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "resources" on null

Filename: models/Locations_model.php

Line Number: 718

Backtrace:

File: /var/www/html/application/models/Locations_model.php
Line: 718
Function: _error_handler

File: /var/www/html/application/controllers/Travel.php
Line: 442
Function: getroaddistance

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Trying to access array offset on value of type null

Filename: models/Locations_model.php

Line Number: 718

Backtrace:

File: /var/www/html/application/models/Locations_model.php
Line: 718
Function: _error_handler

File: /var/www/html/application/controllers/Travel.php
Line: 442
Function: getroaddistance

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "results" on null

Filename: models/Locations_model.php

Line Number: 718

Backtrace:

File: /var/www/html/application/models/Locations_model.php
Line: 718
Function: _error_handler

File: /var/www/html/application/controllers/Travel.php
Line: 442
Function: getroaddistance

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Trying to access array offset on value of type null

Filename: models/Locations_model.php

Line Number: 718

Backtrace:

File: /var/www/html/application/models/Locations_model.php
Line: 718
Function: _error_handler

File: /var/www/html/application/controllers/Travel.php
Line: 442
Function: getroaddistance

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "travelDistance" on null

Filename: models/Locations_model.php

Line Number: 718

Backtrace:

File: /var/www/html/application/models/Locations_model.php
Line: 718
Function: _error_handler

File: /var/www/html/application/controllers/Travel.php
Line: 442
Function: getroaddistance

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "resourceSets" on null

Filename: models/Locations_model.php

Line Number: 724

Backtrace:

File: /var/www/html/application/models/Locations_model.php
Line: 724
Function: _error_handler

File: /var/www/html/application/controllers/Travel.php
Line: 442
Function: getroaddistance

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Trying to access array offset on value of type null

Filename: models/Locations_model.php

Line Number: 724

Backtrace:

File: /var/www/html/application/models/Locations_model.php
Line: 724
Function: _error_handler

File: /var/www/html/application/controllers/Travel.php
Line: 442
Function: getroaddistance

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "resources" on null

Filename: models/Locations_model.php

Line Number: 724

Backtrace:

File: /var/www/html/application/models/Locations_model.php
Line: 724
Function: _error_handler

File: /var/www/html/application/controllers/Travel.php
Line: 442
Function: getroaddistance

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Trying to access array offset on value of type null

Filename: models/Locations_model.php

Line Number: 724

Backtrace:

File: /var/www/html/application/models/Locations_model.php
Line: 724
Function: _error_handler

File: /var/www/html/application/controllers/Travel.php
Line: 442
Function: getroaddistance

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "results" on null

Filename: models/Locations_model.php

Line Number: 724

Backtrace:

File: /var/www/html/application/models/Locations_model.php
Line: 724
Function: _error_handler

File: /var/www/html/application/controllers/Travel.php
Line: 442
Function: getroaddistance

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Trying to access array offset on value of type null

Filename: models/Locations_model.php

Line Number: 724

Backtrace:

File: /var/www/html/application/models/Locations_model.php
Line: 724
Function: _error_handler

File: /var/www/html/application/controllers/Travel.php
Line: 442
Function: getroaddistance

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "travelDistance" on null

Filename: models/Locations_model.php

Line Number: 724

Backtrace:

File: /var/www/html/application/models/Locations_model.php
Line: 724
Function: _error_handler

File: /var/www/html/application/controllers/Travel.php
Line: 442
Function: getroaddistance

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined array key 0

Filename: controllers/Travel.php

Line Number: 454

Backtrace:

File: /var/www/html/application/controllers/Travel.php
Line: 454
Function: _error_handler

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "id" on null

Filename: controllers/Travel.php

Line Number: 454

Backtrace:

File: /var/www/html/application/controllers/Travel.php
Line: 454
Function: _error_handler

File: /var/www/html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/system/core/Exceptions.php:271)

Filename: helpers/url_helper.php

Line Number: 564

Backtrace:

File: /var/www/html/application/controllers/Travel.php
Line: 455
Function: redirect

File: /var/www/html/index.php
Line: 316
Function: require_once