A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/siteonderdelen_model.php

Line Number: 62

A PHP Error was encountered

Severity: Warning

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

Filename: codeigniter/Common.php

Line Number: 360

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 (relations_siteonderdelen_images.images_id = images.id) ORDER BY `relation' at line 3

SELECT `images`.`bijschrift_fr` AS bijschrift, `images`.`url_fr` AS url, `images`.`id`, `images`.`file_name` FROM (`images`, `relations_siteonderdelen_images`) WHERE (relations_siteonderdelen_images.siteonderdelen_id = ) AND (relations_siteonderdelen_images.images_id = images.id) ORDER BY `relations_siteonderdelen_images`.`sorter`