string(192) "SELECT COUNT(`article`.`id`) FROM `article` INNER JOIN relation_site_article AND `relation_site_article`.`domain_id`=1888 WHERE 1=1 AND article.id = relation_site_article.article_id " array(0) { } string(228) "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 `relation_site_article`.`domain_id`=1888 WHERE 1=1 AND article.id = re...' at line 4"