A PHP Error was encountered

Severity: Warning

Message: A non-numeric value encountered

Filename: front/Front.php

Line Number: 3146

Backtrace:

File: /home/sitedaivoham/public_html/application/controllers/front/Front.php
Line: 3146
Function: _error_handler

File: /home/sitedaivoham/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/sitedaivoham/public_html/application/helpers/deven_helper.php:129)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/sitedaivoham/public_html/application/controllers/front/Front.php
Line: 3146
Function: get_where

File: /home/sitedaivoham/public_html/index.php
Line: 315
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 '-1, 1' at line 6

SELECT * FROM `blogpost` WHERE `status` = 1 AND `category` = '12' ORDER BY `id` DESC LIMIT -1, 1

Filename: controllers/front/Front.php

Line Number: 3146