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 '|| cat_id = (select parent from zadira_cat where id = )) group by it' at line 6 select * from zadira_item_group ig, ( select item_group_id from zadira_item where (cat_id = || cat_id = (select parent from zadira_cat where id = )) group by item_group_id ) igi where ig.id = igi.item_group_id order by sort

1.
Db -> post ( select * from zadira_item_group ig, ( select item_group_id from zadira_item where (cat_id = || cat_id = (select parent from zadira_cat where id = )) group by item_group_id ) igi where ig.id = igi.item_group_id order by sort , )
/home/domovoby/public_html/core/classes/db.class.php (Line: 105)

2.
Db -> query ( select * from zadira_item_group ig, ( select item_group_id from zadira_item where (cat_id = || cat_id = (select parent from zadira_cat where id = )) group by item_group_id ) igi where ig.id = igi.item_group_id order by sort )
/home/domovoby/public_html/application/models/item.model.php (Line: 43)

3.
ItemModel :: getAllGroupByCatId ( )
/home/domovoby/public_html/application/controllers/product.php (Line: 43)

4.
ProductController -> index ( )

Notice: Undefined index: file in /home/domovoby/public_html/index.php on line 63

Notice: Undefined index: line in /home/domovoby/public_html/index.php on line 63
(Line: )

5.

Notice: Undefined index: class in /home/domovoby/public_html/index.php on line 62

Notice: Undefined index: type in /home/domovoby/public_html/index.php on line 62

Notice: Array to string conversion in /home/domovoby/public_html/index.php on line 62

Notice: Array to string conversion in /home/domovoby/public_html/index.php on line 62
call_user_func_array ( Array, Array )
/home/domovoby/public_html/core/classes/dispatcher.class.php (Line: 56)

6.
Dispatcher -> process ( )
/home/domovoby/public_html/index.php (Line: 7)