A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: libraries/Breadcrumbs.php

Line Number: 38

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 'AND p.id =' at line 1

SELECT m.*, p.name, p.type as placetype, CASE WHEN t.name IS NULL THEN p.name ELSE t.name END AS label FROM places p JOIN maps m ON m.type = 'general' LEFT OUTER JOIN translations t ON t.place = p.id AND t.language = 'nl' WHERE m.place = AND p.id =