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 = 2 OR ptr.langid IS NULL OR ...' at line 24 in /www/webvol15/kx/o5uizftfkrtr5va/dimitrovgrad.rs/public_html/app/class/NewsCategory.php:274
Stack trace:
#0 /www/webvol15/kx/o5uizftfkrtr5va/dimitrovgrad.rs/public_html/app/class/NewsCategory.php(274): mysqli->query('INSERT INTO tmp...')
#1 /www/webvol15/kx/o5uizftfkrtr5va/dimitrovgrad.rs/public_html/app/controller/controller_categories_news.php(66): NewsCategory::getNewsCategoryNewsDetail(Array, 1, '9', '', 'DESC', 'adddate', false)
#2 /www/webvol15/kx/o5uizftfkrtr5va/dimitrovgrad.rs/public_html/app/controller/controller_main.php(95): include('/www/webvol15/k...')
#3 /www/webvol15/kx/o5uizftfkrtr5va/dimitrovgrad.rs/public_html/index.php(179): include('/www/webvol15/k...')
#4 {main}
thrown in /www/webvol15/kx/o5uizftfkrtr5va/dimitrovgrad.rs/public_html/app/class/NewsCategory.php on line 274