Fatal error: Uncaught mysqli_sql_exception: 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 p.`status` = 'v'
AND ((ptr.langid = 46 OR ptr.langid IS NULL OR...' at line 23 in /www/webvol3/f3/b5ydeyrsbmaqqnu/sremac.edu.rs/public_html/app/class/NewsCategory.php:274
Stack trace:
#0 /www/webvol3/f3/b5ydeyrsbmaqqnu/sremac.edu.rs/public_html/app/class/NewsCategory.php(274): mysqli->query('INSERT INTO tmp...')
#1 /www/webvol3/f3/b5ydeyrsbmaqqnu/sremac.edu.rs/public_html/app/controller/controller_kategorije_news.php(66): NewsCategory::getNewsCategoryNewsDetail(Array, 1, '6', '', 'DESC', 'adddate', false)
#2 /www/webvol3/f3/b5ydeyrsbmaqqnu/sremac.edu.rs/public_html/app/controller/controller_main.php(83): include('/www/webvol3/f3...')
#3 /www/webvol3/f3/b5ydeyrsbmaqqnu/sremac.edu.rs/public_html/index.php(215): include('/www/webvol3/f3...')
#4 {main}
thrown in /www/webvol3/f3/b5ydeyrsbmaqqnu/sremac.edu.rs/public_html/app/class/NewsCategory.php on line 274