Severity: Warning
Message: A non-numeric value encountered
Filename: controllers/Product.php
Line Number: 295
Backtrace:
File: /home/gergstor/public_html/testuthhanecom/application/controllers/Product.php
Line: 295
Function: _error_handler
File: /home/gergstor/public_html/testuthhanecom/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/testuthhanecom/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 570
Backtrace:
File: /home/gergstor/public_html/testuthhanecom/application/models/Product_Model.php
Line: 507
Function: get
File: /home/gergstor/public_html/testuthhanecom/application/controllers/Product.php
Line: 296
Function: fetch_festival_products
File: /home/gergstor/public_html/testuthhanecom/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 '-42, 42' at line 9
SELECT `id`, `product_name`, `mrp`, `uthhan_charge`, `product_category`, `sub_category`, `sub_sub_category`, `product_rating_average`, `selling_price`, `gst`, `image_url_1` FROM `uthhan_product` `uth` JOIN `merchant_ids` `mid` ON `uth`.`uthhan_id`=`mid`.`merchant_id` JOIN `artisan_signup` `art` ON `art`.`art_id`=`mid`.`reg_id` WHERE `uth`.`status` = 'Approved' AND `uth`.`reseller_uthhan` != 'Reseller' AND `art`.`covid_status` = 'Covid Flea Artisan' ORDER BY `uth`.`id` DESC LIMIT -42, 42
Filename: models/Product_Model.php
Line Number: 507