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 '%D0%A1%D1%86%D0%B5%D0%BD%D1%81%D0%BA%D0%B0_%D0%B8_%D0%B0%D1%83%D0%B4%D0%B8%D0...' at line 3 in /www/webvol3/f3/b5ydeyrsbmaqqnu/sremac.edu.rs/public_html/app/class/GalleryItem.php:60
Stack trace:
#0 /www/webvol3/f3/b5ydeyrsbmaqqnu/sremac.edu.rs/public_html/app/class/GalleryItem.php(60): mysqli->query('select SQL_CALC...')
#1 /www/webvol3/f3/b5ydeyrsbmaqqnu/sremac.edu.rs/public_html/app/controller/controller_foto_gallery.php(13): GalleryItem::GetGalleryItems('%D0%A1%D1%86%D0...', 1, '48')
#2 /www/webvol3/f3/b5ydeyrsbmaqqnu/sremac.edu.rs/public_html/app/controller/controller_main.php(48): 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/GalleryItem.php on line 60