MySQL ПРЕДУПРЕЖДЕНИЕ!
Ошибка БД: Ошибка запроса mySQL : SELECT p.*, p.id as pid, c.name, c.id as cid,c.slug as cslug, DATE_FORMAT(p.created, '%d %b %Y') as cdate, (SELECT COUNT(pid) FROM transactions WHERE pid = p.id) as purchased FROM products as p LEFT JOIN categories as c ON c.id = p.cid WHERE p.id = '579' AND p.active = '1'
Подробная информация: