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/webvol6/kw/2a3upnzkjjh4cmk/jkpgorica.rs/public_html/app/class/NewsCategory.php:274
Stack trace:
#0 /www/webvol6/kw/2a3upnzkjjh4cmk/jkpgorica.rs/public_html/app/class/NewsCategory.php(274): mysqli->query('INSERT INTO tmp...')
#1 /www/webvol6/kw/2a3upnzkjjh4cmk/jkpgorica.rs/public_html/app/controller/controller_kategorije_news.php(66): NewsCategory::getNewsCategoryNewsDetail(Array, 1, '6', '', 'DESC', 'adddate', false)
#2 /www/webvol6/kw/2a3upnzkjjh4cmk/jkpgorica.rs/public_html/app/controller/controller_main.php(83): include('/www/webvol6/kw...')
#3 /www/webvol6/kw/2a3upnzkjjh4cmk/jkpgorica.rs/public_html/index.php(214): include('/www/webvol6/kw...')
#4 {main}
thrown in /www/webvol6/kw/2a3upnzkjjh4cmk/jkpgorica.rs/public_html/app/class/NewsCategory.php on line 274