Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 '' at line 1 in /data/web/virtuals/317552/virtual/www/kontrolery/Db.php:28
Stack trace:
#0 /data/web/virtuals/317552/virtual/www/kontrolery/Db.php(28): PDO->prepare('SELECT * FROM z...')
#1 /data/web/virtuals/317552/virtual/www/moduly/zbozi_katalog_modul.php(13): Db::dotazJeden('SELECT * FROM z...')
#2 /data/web/virtuals/317552/virtual/www/kontrolery/zbozi_katalog_kontroler.php(41): ZboziKatalog->vratSekce(NULL)
#3 /data/web/virtuals/317552/virtual/www/kontrolery/zbozi_katalog_kontroler.php(7): zbozi_katalog->getSekce('99e3c04379')
#4 /data/web/virtuals/317552/virtual/www/index.php(16): zbozi_katalog->__construct('99e3c04379', NULL)
#5 {main}
thrown in /data/web/virtuals/317552/virtual/www/kontrolery/Db.php on line 28