A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 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: Notice

Message: Trying to get property 'latitude' of non-object

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: Notice

Message: Trying to get property 'longitude' of non-object

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: Notice

Message: Trying to get property 'nearbyroaddhead_latitude' of non-object

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: Notice

Message: Trying to get property 'nearbyroaddhead_longitude' of non-object

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=25.556044,84.660331&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: Notice

Message: Trying to get property 'resourceSets' of non-object

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: Notice

Message: Trying to get property 'resources' of non-object

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: Notice

Message: Trying to get property 'results' of non-object

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: Notice

Message: Trying to get property 'travelDistance' of non-object

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: Notice

Message: Trying to get property 'resourceSets' of non-object

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: Notice

Message: Trying to get property 'resources' of non-object

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: Notice

Message: Trying to get property 'results' of non-object

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: Notice

Message: Trying to get property 'travelDistance' of non-object

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: Notice

Message: Undefined offset: 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: Notice

Message: Trying to get property 'id' of non-object

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