Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'f177553.stav_i2.artikl' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by in /web/htdocs3/h8deu/home/www/top/modely/Db.php:45
Stack trace:
#0 /web/htdocs3/h8deu/home/www/top/modely/Db.php(45): PDO->prepare('SELECT stav_i2....')
#1 /web/htdocs3/h8deu/home/www/top/modely/Prodej.php(221): Db::dotazVsechny('SELECT stav_i2....', Array)
#2 /web/htdocs3/h8deu/home/www/top/kontrolery/WebStromKontroler.php(46): Prodej::vratProdukt(507, '((TRIM(artikl) ...')
#3 /web/htdocs3/h8deu/home/www/top/kontrolery/SmerovacKontroler.php(236): WebStromKontroler->zpracuj(Array)
#4 /web/htdocs3/h8deu/home/www/top/in.php(33): SmerovacKontroler->zpracuj(Array)
#5 {main}
thrown in /web/htdocs3/h8deu/home/www/top/modely/Db.php on line 45