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 'AND tbl='news' AND main=0' at line 1 in /home/sluzebnice/ftp/libraries/Database.php:67
Stack trace:
#0 /home/sluzebnice/ftp/libraries/Database.php(67): PDOStatement->execute()
#1 /home/sluzebnice/ftp/libraries/Database.php(76): Database->execute()
#2 /home/sluzebnice/ftp/public/pages/aktualnosci.php(155): Database->results()
#3 /home/sluzebnice/ftp/libraries/Site.php(1014): include_once('/home/sluzebnic...')
#4 /home/sluzebnice/ftp/libraries/Site.php(1412): Site::displayContent(Object(Site))
#5 /home/sluzebnice/ftp/index.php(8): Site::displaySite('aktualnosci')
#6 {main}
thrown in /home/sluzebnice/ftp/libraries/Database.php on line 67