A PHP Error was encountered

Severity: Warning

Message: A non-numeric value encountered

Filename: controllers/Home.php

Line Number: 27

Backtrace:

File: /home/dxco/public_html/dxbusinessgroup_blog/application/controllers/Home.php
Line: 27
Function: _error_handler

File: /home/dxco/public_html/dxbusinessgroup_blog/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/dxco/public_html/dxbusinessgroup_blog/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 571

Backtrace:

File: /home/dxco/public_html/dxbusinessgroup_blog/application/models/Home_model.php
Line: 38
Function: get

File: /home/dxco/public_html/dxbusinessgroup_blog/application/controllers/Home.php
Line: 30
Function: get_post_list

File: /home/dxco/public_html/dxbusinessgroup_blog/index.php
Line: 316
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 '-2, 2' at line 5

SELECT * FROM `tbl_post` WHERE `status` = 1 ORDER BY `post_id` DESC LIMIT -2, 2

Filename: models/Home_model.php

Line Number: 38