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 ci.idioma_id=1' at line 1
select count(*) from producto as p inner join catalogo_idioma as ci on p.catalogo_id=ci.catalogo_id inner join catalogo as c on p.catalogo_id=c.id where c.id_empresa = and ci.idioma_id=1