SELECT * FROM `asm_article_category` WHERE `id_article_category` = AND `category_lang` = 'heb'

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 `category_lang` = 'heb'' at line 1