A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/work_model.php

Line Number: 21

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home2/jenniepr/public_html/sys/core/Exceptions.php:185)

Filename: core/Common.php

Line Number: 438

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 'ORDER BY display_order, id DESC' at line 1

SELECT * FROM images WHERE page_id = ORDER BY display_order, id DESC

Filename: /home2/jenniepr/public_html/models/work_model.php

Line Number: 36