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 'and `show`=1 and c_news.cityId = 1' at line 1 at /var/www/svadba-skoro/data/www/svadba-skoro.ru/engine/Inclusio/Component/News/Class.php line 154
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 'and `show`=1 and c_news.cityId = 1' at line 1
    [query] => SELECT count(id) FROM c_news where category_id=1 AND companyID =19628/ and `show`=1 and c_news.cityId = 1
    [context] => /var/www/svadba-skoro/data/www/svadba-skoro.ru/engine/Inclusio/Component/News/Class.php line 154
)