A PHP Error was encountered

Severity: Warning

Message: A non-numeric value encountered

Filename: front/Front.php

Line Number: 160

Backtrace:

File: /home1/elefogjd/rkreddyfoods.com/application/controllers/front/Front.php
Line: 160
Function: _error_handler

File: /home1/elefogjd/rkreddyfoods.com/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 /home1/elefogjd/rkreddyfoods.com/application/helpers/deven_helper.php:129)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home1/elefogjd/rkreddyfoods.com/application/controllers/front/Front.php
Line: 160
Function: get_where

File: /home1/elefogjd/rkreddyfoods.com/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 '-16, 16' at line 5

SELECT * FROM `product` WHERE `sub_cat_id` = '1' ORDER BY `id` DESC LIMIT -16, 16

Filename: controllers/front/Front.php

Line Number: 160