array(2) { [0]=> array(4) { ["file"]=> string(54) "/home/factory1/public_html/catalog/includes/header.php" ["line"]=> int(1062) ["function"]=> string(12) "tep_db_query" ["args"]=> array(1) { [0]=> &string(731) "SELECT mg.group_name, count(distinct p.products_id) as prodtot, mg.group_id, mg2.group_name as parent_name FROM products p LEFT JOIN products_to_groups p2g ON p2g.products_id=p.products_id LEFT JOIN products_to_categories p2c ON p2c.products_id=p.products_id LEFT JOIN categories c ON c.categories_id=p2c.categories_id LEFT JOIN meta_groups mg ON mg.group_id=p2g.group_id LEFT JOIN meta_groups mg2 ON mg2.group_id=mg.group_parent LEFT JOIN products_color pc ON pc.products_id=p.products_id LEFT JOIN specials s ON s.products_id=p.products_id WHERE p2c.categories_id='2386' AND pc.products_id=p2c.products_id AND () AND p.products_status=1 GROUP BY mg.group_id ORDER BY mg2.group_name ASC, mg.sortnum ASC, mg.group_name ASC " } } [1]=> array(4) { ["file"]=> string(44) "/home/factory1/public_html/catalog/index.php" ["line"]=> int(331) ["args"]=> array(1) { [0]=> string(54) "/home/factory1/public_html/catalog/includes/header.php" } ["function"]=> string(7) "require" } }