A PHP Error was encountered

Severity: Warning

Message: A non-numeric value encountered

Filename: controllers/Search.php

Line Number: 57

Backtrace:

File: /home/gergstor/public_html/testuthhanecom/application/controllers/Search.php
Line: 57
Function: _error_handler

File: /home/gergstor/public_html/testuthhanecom/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/gergstor/public_html/testuthhanecom/application/models/Search_Model.php
Line: 726
Function: get

File: /home/gergstor/public_html/testuthhanecom/application/controllers/Search.php
Line: 58
Function: fetch_products

File: /home/gergstor/public_html/testuthhanecom/index.php
Line: 317
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 '-24, 24' at line 13

SELECT `id`, `product_name`, `mrp`, `uthhan_charge`, `product_rating_average`, `product_category`, `sub_category`, `sub_sub_category`, `selling_price`, `gst`, `image_url_1` FROM `uthhan_product` WHERE `reseller_uthhan` != 'Reseller' AND `status` = 'Approved' AND ( `product_name` LIKE '%%' ESCAPE '!' OR `sub_category` LIKE '%%' ESCAPE '!' OR `sub_sub_category` LIKE '%%' ESCAPE '!' OR `product_category` LIKE '%%' ESCAPE '!' OR `id` LIKE '%%' ESCAPE '!' ) ORDER BY `id` DESC LIMIT -24, 24

Filename: models/Search_Model.php

Line Number: 726