Severity: Notice
Message: Trying to get property 'category_id' of non-object
Filename: controllers/Jewelry.php
Line Number: 154
Backtrace:
File: /var/www/html/site/app/modules/jewelry/controllers/Jewelry.php
Line: 154
Function: _error_handler
File: /var/www/html/site/index.php
Line: 432
Function: require_once
Severity: Notice
Message: Trying to get property 'category_id' of non-object
Filename: controllers/Jewelry.php
Line Number: 155
Backtrace:
File: /var/www/html/site/app/modules/jewelry/controllers/Jewelry.php
Line: 155
Function: _error_handler
File: /var/www/html/site/index.php
Line: 432
Function: require_once
Severity: Notice
Message: Undefined index: param
Filename: controllers/Jewelry.php
Line Number: 163
Backtrace:
File: /var/www/html/site/app/modules/jewelry/controllers/Jewelry.php
Line: 163
Function: _error_handler
File: /var/www/html/site/index.php
Line: 432
Function: require_once
Severity: Notice
Message: Undefined index: param
Filename: controllers/Jewelry.php
Line Number: 167
Backtrace:
File: /var/www/html/site/app/modules/jewelry/controllers/Jewelry.php
Line: 167
Function: _error_handler
File: /var/www/html/site/index.php
Line: 432
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 ') and media.type=1 and media.sort_order=0 GROUP BY products.group_i' at line 4
select media.url as image, products.name, products.metal_color, products.product_id as pro_id, products.slug, price, sale_price, discount from products INNER JOIN media on media.element_id = products.product_id where products.status = 'active' and products.category_id IN() and media.type=1 and media.sort_order=0 GROUP BY products.group_id ORDER BY products.product_id DESC LIMIT 20 OFFSET 0
Filename: modules/jewelry/models/Jewelry_model.php
Line Number: 128