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 ',,,,,,,,,,,,)
GROUP BY f.id, f.alias, f.des, fg.id, fg.filename
ORD...' at line 5 in /home/tv-gniezno/ftp/tvgniezno/engine/driver/mysql.php:66
Stack trace:
#0 /home/tv-gniezno/ftp/tvgniezno/engine/driver/mysql.php(66): mysqli_query(Object(mysqli), '\r\n\t\t\t\tSELECT f....')
#1 /home/tv-gniezno/ftp/tvgniezno/engine/main_model.php(87): DriverMysql->query('\r\n\t\t\t\tSELECT f....', '', true)
#2 /home/tv-gniezno/ftp/tvgniezno/elements/new/listfotoreportaze.php(83): MainModel->query('\r\n\t\t\t\tSELECT f....')
#3 /home/tv-gniezno/ftp/tvgniezno/engine/main_controller.php(828): include('/home/tv-gniezn...')
#4 /home/tv-gniezno/ftp/tvgniezno/modules/fotoreportaze/views/show.thtml(73): MainController->element('new/listfotorep...', Array)
#5 /home/tv-gniezno/ftp/tvgniezno/engine/main_controller.php(863): include('/home/tv-gniezn...')
#6 /home/tv-gniezno/ftp/tvgniezno/dispatcher.php(157): MainController->render('fotoreportaze')
#7 /home/tv-gniezno/ftp/tvgniezno/dispatcher.php(91): dispatcher->invoke(Array)
#8 /home/tv-gniezno/ftp/tvgniezno/index.php(62): dispatcher->__construct()
#9 {main}