Error
Se produjo un error al acceder a la base de datos
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and m.id=' at line 1
select count(*) from composicion LEFT JOIN modelo_idioma ON composicion.modelo_id=modelo_idioma.modelo_id left join modelo as m on composicion.modelo_id=m.id left join producto as p on m.producto_id = p.id left join catalogo as c on p.catalogo_id= c.id where modelo_idioma.idioma_id=1 and c.id_empresa= and m.id=