A PHP Error was encountered

Severity: Warning

Message: Undefined array key 0

Filename: controllers/Travel.php

Line Number: 444

Backtrace:

File: /var/www/html/application/controllers/Travel.php
Line: 444
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: 446

Backtrace:

File: /var/www/html/application/controllers/Travel.php
Line: 446
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: 446

Backtrace:

File: /var/www/html/application/controllers/Travel.php
Line: 446
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: 446

Backtrace:

File: /var/www/html/application/controllers/Travel.php
Line: 446
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: 446

Backtrace:

File: /var/www/html/application/controllers/Travel.php
Line: 446
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=30.476639,74.511172&destinations=,&travelMode=driving&key=AuNLCLnKbyiCfYkGCdUjeS_x-lnYlo741UkjRXZVB-HLcn2uDNGYil8fd0O8rjfY): Failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden

Filename: models/Locations_model.php

Line Number: 702

Backtrace:

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

File: /var/www/html/application/controllers/Travel.php
Line: 446
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: 726

Backtrace:

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

File: /var/www/html/application/controllers/Travel.php
Line: 446
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: 726

Backtrace:

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

File: /var/www/html/application/controllers/Travel.php
Line: 446
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: 726

Backtrace:

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

File: /var/www/html/application/controllers/Travel.php
Line: 446
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: 726

Backtrace:

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

File: /var/www/html/application/controllers/Travel.php
Line: 446
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: 726

Backtrace:

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

File: /var/www/html/application/controllers/Travel.php
Line: 446
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: 726

Backtrace:

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

File: /var/www/html/application/controllers/Travel.php
Line: 446
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: 726

Backtrace:

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

File: /var/www/html/application/controllers/Travel.php
Line: 446
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: 732

Backtrace:

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

File: /var/www/html/application/controllers/Travel.php
Line: 446
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: 732

Backtrace:

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

File: /var/www/html/application/controllers/Travel.php
Line: 446
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: 732

Backtrace:

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

File: /var/www/html/application/controllers/Travel.php
Line: 446
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: 732

Backtrace:

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

File: /var/www/html/application/controllers/Travel.php
Line: 446
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: 732

Backtrace:

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

File: /var/www/html/application/controllers/Travel.php
Line: 446
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: 732

Backtrace:

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

File: /var/www/html/application/controllers/Travel.php
Line: 446
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: 732

Backtrace:

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

File: /var/www/html/application/controllers/Travel.php
Line: 446
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: 458

Backtrace:

File: /var/www/html/application/controllers/Travel.php
Line: 458
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: 458

Backtrace:

File: /var/www/html/application/controllers/Travel.php
Line: 458
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: 459
Function: redirect

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