Notice: Undefined variable: idCategory in /srv/data/web/vhosts/www.abyss-garden.com/htdocs/App/Controllers/TweebBlog.php on line 76

Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 id IN (SELECT id_article FROM tb_blog_article_category WHERE id_category' at line 1 in /srv/data/web/vhosts/www.abyss-garden.com/htdocs/Core/Database/MysqlDatabase.php:117 Stack trace: #0 /srv/data/web/vhosts/www.abyss-garden.com/htdocs/Core/Database/MysqlDatabase.php(117): PDO->query('SELECT count(id...') #1 /srv/data/web/vhosts/www.abyss-garden.com/htdocs/Core/Database/Mysql.php(150): Core\Database\MysqlDatabase->query('SELECT count(id...', 'Core\\Entity', true) #2 /srv/data/web/vhosts/www.abyss-garden.com/htdocs/Core/Models/Blog/Article.php(156): Core\Database\Mysql->query('SELECT count(id...', Array, true) #3 /srv/data/web/vhosts/www.abyss-garden.com/htdocs/App/Controllers/TweebBlog.php(80): Core\Models\Blog\Article->count(Array) #4 /srv/data/web/vhosts/www.abyss-garden.com/htdocs/App/Co in /srv/data/web/vhosts/www.abyss-garden.com/htdocs/Core/Database/MysqlDatabase.php on line 117