Notice: Undefined index: article_expert_id in /html/application/controller/video.php on line 66

Notice: Undefined index: article_topic_id in /html/application/controller/video.php on line 67

Notice: Undefined index: article_expert_id in /html/application/controller/video.php on line 69

Notice: Undefined index: article_topic_id in /html/application/controller/video.php on line 70
Sorgu Hatası : 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 'OR a.topic_id = ) OR a.parent_topic_id IN (SELECT topic_id F' at line 13
Hata No :1064

SELECT a.article_id, a.title, a.date, a.seourl, a.description, aa.name AS expert, aa.title AS expert_title, a.image, IF(lrt.topic_title != '', lrt.topic_title, rt.topic_title) AS topic_title, IF(lsrt.topic_title != '', lsrt.topic_title, srt.topic_title) AS sub_topic_title, IF(lrt.topic_title != '', lrt.topic_title, rt.topic_title) AS topic, a.gallery_count, a.video_count, a.audio_count, a.description2 FROM articles a LEFT JOIN experts aa ON (a.expert_id = aa.expert_id) LEFT JOIN research_topics rt ON (a.topic_id = rt.topic_id) LEFT JOIN research_topics srt ON (a.parent_topic_id = srt.topic_id) LEFT JOIN lang_research_topics lrt ON (lrt.topic_id = a.topic_id AND lrt.lang = 'tr') LEFT JOIN lang_research_topics lsrt ON (lsrt.topic_id = a.parent_topic_id AND lsrt.lang = 'tr') WHERE ( a.topic_id IN (SELECT topic_id FROM research_topics WHERE parent_id = OR a.topic_id = ) OR a.parent_topic_id IN (SELECT topic_id FROM research_topics WHERE parent_id = OR a.topic_id = ) ) AND a.active = 1 AND a.lang = 'tr' ORDER BY a.article_id DESC - 500