Se ha producido un error al hacer la query.

select tarticulos.*, rarticulosarbol.idarticulopadre, tarticulosidioma.*, rarticulosarbol.idpestana, rarticulosarbol.strpath, tarticulostipospestanas.nombre as nombrepestana from tarticulos inner join rarticulosarbol ON rarticulosarbol.idarticulo = tarticulos.id inner join tarticulosidioma ON tarticulosidioma.idarticulo = tarticulos.id left join tarticulostipospestanas ON tarticulostipospestanas.id = rarticulosarbol.idpestana where tarticulos.id = and tarticulosidioma.idioma = 1

El error es:

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 tarticulosidioma.idioma = 1' at line 7