Could not run query: 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 pagina.is_product = 1 LIMIT 1' at line 6
Whole Query:SELECT pagina.Id, pagina.titel, pagina.afbeelding, producten.prijs, producten.prijs2, pagina.url_full, producten.option3 FROM pagina INNER JOIN producten ON pagina.product_id = WHERE pagina.product_id = AND pagina.is_product = 1 LIMIT 1