Severity: Warning
Message: A non-numeric value encountered
Filename: controllers/Product.php
Line Number: 529
Backtrace:
File: /home/gergstor/public_html/uthhanecom/application/controllers/Product.php
Line: 529
Function: _error_handler
File: /home/gergstor/public_html/uthhanecom/index.php
Line: 317
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/gergstor/public_html/uthhanecom/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 564
Backtrace:
File: /home/gergstor/public_html/uthhanecom/application/models/Product_Model.php
Line: 1156
Function: get
File: /home/gergstor/public_html/uthhanecom/application/controllers/Product.php
Line: 530
Function: fetch_products
File: /home/gergstor/public_html/uthhanecom/index.php
Line: 317
Function: require_once
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 '-24, 24' at line 6
SELECT `id`, `product_name`, `mrp`, `uthhan_charge`, `product_category`, `sub_category`, `sub_sub_category`, `selling_price`, `gst`, `image_url_1`, `product_rating_average` FROM `uthhan_product` WHERE `reseller_uthhan` != 'Reseller' AND `status` = 'Approved' ORDER BY `id` DESC LIMIT -24, 24
Filename: models/Product_Model.php
Line Number: 1156