A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Zfront.php

Line Number: 61

Backtrace:

File: /home/makingna/public_html/application/modules/zfront/controllers/Zfront.php
Line: 61
Function: _error_handler

File: /home/makingna/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Zfront.php

Line Number: 63

Backtrace:

File: /home/makingna/public_html/application/modules/zfront/controllers/Zfront.php
Line: 63
Function: _error_handler

File: /home/makingna/public_html/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/makingna/public_html/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 573

Backtrace:

File: /home/makingna/public_html/application/modules/zfront/models/Zfront_model.php
Line: 66
Function: query

File: /home/makingna/public_html/application/modules/zfront/controllers/Zfront.php
Line: 63
Function: prevnext

File: /home/makingna/public_html/index.php
Line: 292
Function: require_once

Database Error

A Database Error Occurred

Error Number: 42000/1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND cat = 'portfolio' ORDER BY id DESC LIMIT 1' at line 1

SELECT slug FROM post WHERE id < AND cat = 'portfolio' ORDER BY id DESC LIMIT 1

Filename: modules/zfront/models/Zfront_model.php

Line Number: 66