Severity: Warning
Message: Use of undefined constant nulll - assumed 'nulll' (this will throw an Error in a future version of PHP)
Filename: models/Product_Model.php
Line Number: 662
Backtrace:
File: /home/gergstor/public_html/uthhanecom/application/models/Product_Model.php
Line: 662
Function: _error_handler
File: /home/gergstor/public_html/uthhanecom/application/controllers/Product.php
Line: 499
Function: fetch_products_count
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: 726
Function: get
File: /home/gergstor/public_html/uthhanecom/application/controllers/Product.php
Line: 499
Function: fetch_products_count
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 '`NULL` AND (selling_price*(110/100))*((gst+100)/100) < `IS` `NULL` ORDER BY `id`' at line 6
SELECT `id`, `product_name`, `mrp`, `uthhan_charge`, `product_category`, `sub_category`, `sub_sub_category`, `selling_price`, `gst`, `image_url_1` FROM `uthhan_product` WHERE `reseller_uthhan` != 'Reseller' AND `product_category` = 'Terracotta' AND `status` = 'Approved' AND (selling_price*(110/100))*((gst+100)/100) > `IS` `NULL` AND (selling_price*(110/100))*((gst+100)/100) < `IS` `NULL` ORDER BY `id` DESC
Filename: models/Product_Model.php
Line Number: 726