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 ORDER BY `Date` DESC, id Desc LIMIT 0,10' at line 1 at /var/www/svadba-skoro/data/www/svadba-skoro.ru/engine/Inclusio/Component/News/Class.php line 141
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 ORDER BY `Date` DESC, id Desc LIMIT 0,10' at line 1
    [query] => SELECT c_news.*, DAY(`Date`) as `DateDay`, MONTH(`Date`) as `DateMonth` FROM c_news where category_id=1 AND companyID =19710/ and `show`=1 ORDER BY `Date` DESC, id Desc LIMIT 0,10
    [context] => /var/www/svadba-skoro/data/www/svadba-skoro.ru/engine/Inclusio/Component/News/Class.php line 141
)