SQL Error: 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 ') ORDER BY newsDate DESC LIMIT 0,6' at line 1 at /var/www/profmaster/data/www/profmaster.group/engine/Inclusio/Component/News/Class.php line 64
Array
(
    [code] => 1064
    [message] => 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 ') ORDER BY newsDate DESC  LIMIT 0,6' at line 1
    [query] => SELECT *, DATE_FORMAT(`newsDate`, "%d.%m.%Y") as newsDateFormat, (select `fileName` from c_file where keyId = c_news.newsId and moduleName="news" Order by fileOrder ASC Limit 1) as image   FROM `c_news`   where newsShow = 1 and (cityId = 0 or cityId = ) ORDER BY newsDate DESC  LIMIT 0,6
    [context] => /var/www/profmaster/data/www/profmaster.group/engine/Inclusio/Component/News/Class.php line 64
)