Fatal error: Uncaught exception 'EngineException' with message 'Ошибка в синтаксисе!!! <p>Запрос: [<b>SELECT * FROM `realty` WHERE (`img` != "" || (`image` != "" AND `image` != "Добавить файлы")) AND `spec` = 1 AND `userid` = 40 AND `id` != AND `level1` = AND `level2` = LIMIT 4</b>]</p><br /><br />[SELECT * FROM `realty` WHERE (`img` != "" || (`image` != "" AND `image` != "Добавить файлы")) AND `spec` = 1 AND `userid` = 40 AND `id` != AND `level1` = AND `level2` = LIMIT 4]' in /home/o/optimaser2/yargildia.ru/elityar/new/public_html/sky/core/lib/Mysql.php:71 Stack trace: #0 /home/o/optimaser2/yargildia.ru/elityar/new/public_html/sky/core/lib/Mysql.php(123): Mysql->sql('SELECT * FROM `...') #1 /home/o/optimaser2/yargildia.ru/elityar/new/public_html/sky/core/model/Model.php(273): Mysql->getArray('SELECT * FROM `...') #2 /home/o/optimaser2/yargildia.ru/elityar/new/public_html/gildia/front/controller/CFRealty.php(637): Model->selectToArray('(`img` != "" ||...', false, false, 4) #3 /home/o/optimaser2/yargildia.ru/elitya in /home/o/optimaser2/yargildia.ru/elityar/new/public_html/sky/core/lib/Mysql.php on line 71