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 lang_id = 7' at line 7

/* /vod/section?type=category&id=55226 */ SELECT cat.id AS 'list_id', 0 AS num FROM CRM_mgz_videos_categories cat WHERE pid = AND lang_id = 7

| VOD Category - Hidabroot