Line: 127; File: /var/www/sportkuznica/data/www/sportkuznica.com/mods/Art/classes.php
Line: 484; File: /var/www/sportkuznica/data/www/sportkuznica.com/mods/Art/classes.php
Line: 234; File: /var/www/sportkuznica/data/www/sportkuznica.com/ui/ui.php
Line: 427; File: /var/www/sportkuznica/data/www/sportkuznica.com/ui/ui.php
Line: 41; File: /var/www/sportkuznica/data/www/sportkuznica.com/index.php

Ошибка MySQL: 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 ')' at line 10
Запрос:
					SELECT 
						a1.*
					FROM `CMS_ARTICLES` as a1
					LEFT JOIN `CMS_ARTICLE_TO_SECTIONS` as a2
					ON a1.CA_ID = a2.CA_ID
					WHERE
						a1.`CA_STATUS`='0' 
						AND a1.`CA_JUST_ACCESS_LINK`=0 
						AND a2.`CAS_ID` = '14'
						AND a1.`CA_ID` NOT IN ()