A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: libraries/Place.php

Line Number: 90

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$name

Filename: controllers/fleet.php

Line Number: 81

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$label

Filename: controllers/fleet.php

Line Number: 97

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$label

Filename: controllers/fleet.php

Line Number: 98

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$label

Filename: controllers/fleet.php

Line Number: 98

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$name

Filename: controllers/fleet.php

Line Number: 99

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$label

Filename: controllers/fleet.php

Line Number: 99

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$id

Filename: controllers/fleet.php

Line Number: 119

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /system/libraries/Exceptions.php:166)

Filename: codeigniter/Common.php

Line Number: 356

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

SELECT p.id, p.name, 1 as checked FROM places p join base_areas ba ON ba.base = p.id WHERE ba.area =