A PHP Error was encountered

Severity: Warning

Message: A non-numeric value encountered

Filename: controllers/Welcome.php

Line Number: 295

Backtrace:

File: /home/shopcoco/domains/gachbongviet.com/public_html/application/controllers/Welcome.php
Line: 295
Function: _error_handler

File: /home/shopcoco/domains/gachbongviet.com/public_html/index.php
Line: 328
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 '-20, 20' at line 6

SELECT * FROM `product` WHERE `Cate` IN('patchwork') AND `Public` = 1 ORDER BY `Sort` ASC LIMIT -20, 20

Filename: models/product/M_product_dal.php

Line Number: 75