Notice: Trying to access array offset on value of type bool in /home/hinu5100/clamour.fr/modules/smartblog/controllers/front/details.php on line 32

Warning: PDO::query(): SQLSTATE[42000]: Syntax error or access violation: 1064 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 pl.id_lang = 5' at line 4 in /home/hinu5100/clamour.fr/classes/db/DbPDO.php on line 152

[ SQL ERROR ]

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 pl.id_lang = 5' at line 4
SELECT * FROM ps_smart_blog_category_lang pl, ps_smart_blog_category p 
                WHERE pl.id_smart_blog_category=p.id_smart_blog_category
				AND p.id_smart_blog_category=
				AND pl.id_lang = 5