A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Portfolio.php

Line Number: 16

Backtrace:

File: /home/rumahk49/public_html/gravenza.com/application/controllers/Portfolio.php
Line: 16
Function: _error_handler

File: /home/rumahk49/public_html/gravenza.com/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/rumahk49/public_html/gravenza.com/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/rumahk49/public_html/gravenza.com/application/controllers/Portfolio.php
Line: 16
Function: get

File: /home/rumahk49/public_html/gravenza.com/index.php
Line: 292
Function: require_once

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 `project_date` DESC' at line 4

SELECT * FROM `portfolio` WHERE `project_date` < ORDER BY `project_date` DESC

Filename: controllers/Portfolio.php

Line Number: 16