A PHP Error was encountered

Severity: Warning

Message: A non-numeric value encountered

Filename: controllers/Product.php

Line Number: 290

Backtrace:

File: /home/gergstor/public_html/uthhanecom/application/controllers/Product.php
Line: 290
Function: _error_handler

File: /home/gergstor/public_html/uthhanecom/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/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: 504
Function: get

File: /home/gergstor/public_html/uthhanecom/application/controllers/Product.php
Line: 291
Function: fetch_festival_products

File: /home/gergstor/public_html/uthhanecom/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 '-42, 42' at line 9

SELECT `id`, `product_name`, `mrp`, `uthhan_charge`, `product_category`, `sub_category`, `sub_sub_category`, `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: 504