Fatal error: Uncaught Exception: SQL Error: -->SELECT
a.idProduto,
a.idProdutoCategoria,
a.idAlbum,
a.subtitulo,
a.alias,
a.modelo,
a.moeda,
a.preco,
a.sobconsulta,
a.ano,
a.informacoes,
a.idMarca
FROM produto a
INNER JOIN ProdutoCategoria b ON b.idProdutoCategoria = a.idProdutoCategoria
INNER JOIN Marca c ON c.idMarca = a.idMarca
WHERE a.idMarca =
AND a.status IN(1,2)
ORDER BY a.idProduto DESC, a.titulo
LIMIT 12
<--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 'AND a.status IN(1,2)
in /home/webluxury/public_html/application/class/sql/QueryExecutor.class.php on line 32