array(6) { [0]=> array(6) { ["file"]=> string(75) "/home/918630.cloudwaysapps.com/kvqbyvvnmv/public_html/class/mysql.class.php" ["line"]=> int(59) ["function"]=> string(5) "error" ["class"]=> string(2) "DB" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> string(1027) " select s.id,s.title, p_a.value as allapot, if(SUM(p_h_b.mennyiseg)>0,1,0) as db, s.salesSum as salesSum from (products s) LEFT JOIN products_attribute as p_a ON s.id=p_a.term_id LEFT JOIN products_has_bolthely as p_h_b ON s.id = p_h_b.product_id where 1=1 AND p_a.item_id = 2 and (select id from products_has_gyms gyms where s.id = gyms.term_id and gyms.kateg_id in(5506) limit 1) is not null and (select phc.id from (products_has_categs phc, categories c) where phc.term_id = s.id and c.id = phc.kateg_id and ( phc.kateg_id in(513,517,568,636,648,649,650,651,665,732,891,1049,1089,1117,1128,1528,1563,1590,1601,1710,1889,2017) or c.parent_id in(513,517,568,636,648,649,650,651,665,732,891,1049,1089,1117,1128,1528,1563,1590,1601,1710,1889,2017) ) limit 1) is not null AND s.shop_visibility LIKE '1%' AND s.lathatosag IN ('all','shop','lh') AND s.status = 1 group by s.id HAVING IF(allapot=0,db <> 0,1) order by db desc, allapot desc, salesSum desc, title asc" } } [1]=> array(6) { ["file"]=> string(83) "/home/918630.cloudwaysapps.com/kvqbyvvnmv/public_html/pages_v2/phpBlocks/4lepes.php" ["line"]=> int(1874) ["function"]=> string(5) "query" ["class"]=> string(2) "DB" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> string(1027) " select s.id,s.title, p_a.value as allapot, if(SUM(p_h_b.mennyiseg)>0,1,0) as db, s.salesSum as salesSum from (products s) LEFT JOIN products_attribute as p_a ON s.id=p_a.term_id LEFT JOIN products_has_bolthely as p_h_b ON s.id = p_h_b.product_id where 1=1 AND p_a.item_id = 2 and (select id from products_has_gyms gyms where s.id = gyms.term_id and gyms.kateg_id in(5506) limit 1) is not null and (select phc.id from (products_has_categs phc, categories c) where phc.term_id = s.id and c.id = phc.kateg_id and ( phc.kateg_id in(513,517,568,636,648,649,650,651,665,732,891,1049,1089,1117,1128,1528,1563,1590,1601,1710,1889,2017) or c.parent_id in(513,517,568,636,648,649,650,651,665,732,891,1049,1089,1117,1128,1528,1563,1590,1601,1710,1889,2017) ) limit 1) is not null AND s.shop_visibility LIKE '1%' AND s.lathatosag IN ('all','shop','lh') AND s.status = 1 group by s.id HAVING IF(allapot=0,db <> 0,1) order by db desc, allapot desc, salesSum desc, title asc" } } [2]=> array(4) { ["file"]=> string(81) "/home/918630.cloudwaysapps.com/kvqbyvvnmv/public_html/pages_v2/frames/default.php" ["line"]=> int(282) ["args"]=> array(1) { [0]=> string(83) "/home/918630.cloudwaysapps.com/kvqbyvvnmv/public_html/pages_v2/phpBlocks/4lepes.php" } ["function"]=> string(12) "require_once" } [3]=> array(4) { ["file"]=> string(71) "/home/918630.cloudwaysapps.com/kvqbyvvnmv/public_html/pages_v2/main.php" ["line"]=> int(113) ["args"]=> array(1) { [0]=> string(81) "/home/918630.cloudwaysapps.com/kvqbyvvnmv/public_html/pages_v2/frames/default.php" } ["function"]=> string(12) "require_once" } [4]=> array(4) { ["file"]=> string(67) "/home/918630.cloudwaysapps.com/kvqbyvvnmv/public_html/index_new.php" ["line"]=> int(227) ["args"]=> array(1) { [0]=> string(71) "/home/918630.cloudwaysapps.com/kvqbyvvnmv/public_html/pages_v2/main.php" } ["function"]=> string(12) "require_once" } [5]=> array(4) { ["file"]=> string(63) "/home/918630.cloudwaysapps.com/kvqbyvvnmv/public_html/index.php" ["line"]=> int(193) ["args"]=> array(1) { [0]=> string(67) "/home/918630.cloudwaysapps.com/kvqbyvvnmv/public_html/index_new.php" } ["function"]=> string(12) "require_once" } }