Notice: Trying to access array offset on value of type null in /home/main/domain/kamerapengintai.com/blocks/product_category_list/_switch.php on line 15

Notice: Trying to access array offset on value of type null in /home/main/domain/kamerapengintai.com/blocks/product_category_list/_switch.php on line 17

SQL - 3: SELECT `id`,`par_id`,`name` FROM `warehouse_product_cat` WHERE id = ORDER BY `id` ASC
blocks/product_category_list/_switch.php line:38
blocks/product_category_list/_switch.php line:22
includes/system/layout.blocks.php line:77
includes/system/12.php line:981
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 'ORDER BY `id` ASC' at line 1

Notice: Undefined offset: -1 in /home/main/domain/kamerapengintai.com/blocks/product_category_list/_switch.php on line 24

Notice: Trying to access array offset on value of type null in /home/main/domain/kamerapengintai.com/blocks/product_category_list/_switch.php on line 25

Notice: Trying to access array offset on value of type null in /home/main/domain/kamerapengintai.com/blocks/product_category_list/_switch.php on line 26

SQL - 4: SELECT `id`,`name`,`par_id` FROM `warehouse_product_cat` WHERE `publish` != 0 AND `is_front` != 0 AND par_id = ORDER BY `orderby`
blocks/product_category_list/_switch.php line:54
blocks/product_category_list/_switch.php line:26
includes/system/layout.blocks.php line:77
includes/system/12.php line:981
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 'ORDER BY `orderby`' at line 1

Notice: Trying to access array offset on value of type null in /home/main/domain/kamerapengintai.com/blocks/product_category_list/default.html.php on line 3