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 active='1' AND dateCreated<=UNIX_TIMESTAMP() LIMIT 0,1' at line 1 at /var/www/custom/system/models/user_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 ') AND active='1' AND dateCreated<=UNIX_TIMESTAMP() LIMIT 0,1' at line 1 [query] => SELECT COUNT(id) as cnews FROM cms_news WHERE node_id IN() AND active='1' AND dateCreated<=UNIX_TIMESTAMP() LIMIT 0,1 [context] => /var/www/custom/system/models/user_news.class.php line 64 )