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 (ctr.langid =2 OR ctr.langid is null) ORDER BY c.sort ASC' at line 4 in /www/webvol19/vw/rxt9ibgxm2r4llc/gocrvenikrst.rs/public_html/app/class/ShopHelper.php:137
Stack trace:
#0 /www/webvol19/vw/rxt9ibgxm2r4llc/gocrvenikrst.rs/public_html/app/class/ShopHelper.php(137): mysqli->query('SELECT c.id, c....')
#1 /www/webvol19/vw/rxt9ibgxm2r4llc/gocrvenikrst.rs/public_html/app/controller/controller_kategorije_news.php(36): ShopHelper::getNewsCategoryChild(false)
#2 /www/webvol19/vw/rxt9ibgxm2r4llc/gocrvenikrst.rs/public_html/app/controller/controller_main.php(83): include('/www/webvol19/v...')
#3 /www/webvol19/vw/rxt9ibgxm2r4llc/gocrvenikrst.rs/public_html/index.php(207): include('/www/webvol19/v...')
#4 {main}
thrown in /www/webvol19/vw/rxt9ibgxm2r4llc/gocrvenikrst.rs/public_html/app/class/ShopHelper.php on line 137