Productos relacionados con etiquetas

1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 6

select count(*) as total from products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id left join products_description pd on p.products_id = pd.products_id and pd.language_id = '3' left join specials sp on p.products_id = sp.products_id LEFT JOIN products_tags s ON p.products_id = s.products_id where (p.products_status = '1' or p.products_status = '2') and s.tag_id=