НОВИ ПРОДУКТИ
#0 DataBase->query(SELECT p.id, p.brand_id, p.code, p.category_id, p.price, p.promo_price, p.weight, p.quantity, p.sizes, pi.image, pinfo.name
FROM products p
JOIN product_images pi ON pi.product_id = p.id
JOIN product_information pinfo ON pinfo.product_id = p.id
WHERE p.price <> 0 AND p.is_active = 1 AND p.quantity <> 0 AND p.brand_id <> 17 AND pinfo.language_id = 2
ORDER BY p.id DESC
LIMIT 4) called at [/home/podvumo0/public_html/sites/new.podvoda.bg/classes/ProductClass.php:1088]
#1 Product->showNewProducts() called at [/home/podvumo0/public_html/sites/new.podvoda.bg/requires/Home.php:38]
#2 require(/home/podvumo0/public_html/sites/new.podvoda.bg/requires/Home.php) called at [/home/podvumo0/public_html/sites/new.podvoda.bg/index.php:26]
#3 parsePage(Home.php) called at [/home/podvumo0/public_html/sites/new.podvoda.bg/index.php:39]
Unknown column 'pinfo.name' in 'SELECT'
statement: SELECT p.id, p.brand_id, p.code, p.category_id, p.price, p.promo_price, p.weight, p.quantity, p.sizes, pi.image, pinfo.name
FROM products p
JOIN product_images pi ON pi.product_id = p.id
JOIN product_information pinfo ON pinfo.product_id = p.id
WHERE p.price <> 0 AND p.is_active = 1 AND p.quantity <> 0 AND p.brand_id <> 17 AND pinfo.language_id = 2
ORDER BY p.id DESC
LIMIT 4