Notice: Undefined variable: news_id in /var/www/ch1d64baa3/www/ptonmc.lviv.ua/modules/news.php on line 4

Fatal error: Uncaught exception 'Exception' with message 'Could not select data. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1' in /var/www/ch1d64baa3/www/ptonmc.lviv.ua/cms/class.MySQL_DB.php:43 Stack trace: #0 /var/www/ch1d64baa3/www/ptonmc.lviv.ua/modules/news.php(9): MySQL_DB->select('SELECT `news_id...') #1 /var/www/ch1d64baa3/www/ptonmc.lviv.ua/modules/pagecontent.php(8): include('/var/www/ch1d64...') #2 /var/www/ch1d64baa3/www/ptonmc.lviv.ua/tmpl/tmpl.php(317): include('/var/www/ch1d64...') #3 /var/www/ch1d64baa3/www/ptonmc.lviv.ua/index.php(10): include('/var/www/ch1d64...') #4 {main} thrown in /var/www/ch1d64baa3/www/ptonmc.lviv.ua/cms/class.MySQL_DB.php on line 43