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 =1 OR ctr.langid is null) AND (cf.type = 'img' OR cf.type is ...' at line 4 in /www/webvol23/e9/nr1un58uiso396j/duoscompany.rs/public_html/app/class/ShopHelper.php:95
Stack trace:
#0 /www/webvol23/e9/nr1un58uiso396j/duoscompany.rs/public_html/app/class/ShopHelper.php(95): mysqli->query('SELECT c.id, c....')
#1 /www/webvol23/e9/nr1un58uiso396j/duoscompany.rs/public_html/app/controller/controller_categories.php(56): ShopHelper::getCategoryChild(false)
#2 /www/webvol23/e9/nr1un58uiso396j/duoscompany.rs/public_html/app/controller/controller_main.php(93): include('/www/webvol23/e...')
#3 /www/webvol23/e9/nr1un58uiso396j/duoscompany.rs/public_html/index.php(230): include('/www/webvol23/e...')
#4 {main}
thrown in /www/webvol23/e9/nr1un58uiso396j/duoscompany.rs/public_html/app/class/ShopHelper.php on line 95