A PHP Error was encountered

Severity: Warning

Message: count(): Parameter must be an array or an object that implements Countable

Filename: controllers/Jewellery.php

Line Number: 128

Backtrace:

File: /home/taaresit/public_html/application/controllers/Jewellery.php
Line: 128
Function: _error_handler

File: /home/taaresit/public_html/application/controllers/Jewellery.php
Line: 23
Function: index

File: /home/taaresit/public_html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/taaresit/public_html/application/models/Categorymodel.php:1)

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/taaresit/public_html/application/models/Catalogsearchmodel.php
Line: 74
Function: get

File: /home/taaresit/public_html/application/controllers/Jewellery.php
Line: 448
Function: fetch_jewellery

File: /home/taaresit/public_html/application/controllers/Jewellery.php
Line: 23
Function: index

File: /home/taaresit/public_html/index.php
Line: 316
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 'subcat_id)' at line 4

SELECT DISTINCT `sku_id` FROM `jewellery` RIGHT JOIN `jewellery_price` ON `jewellery_price`.`jewellery_id` = `jewellery`.`id` WHERE FIND_IN_SET (,subcat_id)

Filename: models/Catalogsearchmodel.php

Line Number: 74