Notice: Undefined variable: pageID in /home/hotelpol/domains/krakus.net/public_html/templates/modules/banner.php on line 6
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 'LIMIT 1' at line 1 in /home/hotelpol/domains/krakus.net/public_html/database/connect.php:27
Stack trace:
#0 /home/hotelpol/domains/krakus.net/public_html/database/connect.php(27): PDOStatement->execute()
#1 /home/hotelpol/domains/krakus.net/public_html/lib/page_class.php(110): Connect->customQuery('SELECT * FROM f...')
#2 /home/hotelpol/domains/krakus.net/public_html/templates/modules/banner.php(6): Page_class->pageGallery(NULL, 1)
#3 /home/hotelpol/domains/krakus.net/public_html/templates/info.php(8): include_once('/home/hotelpol/...')
#4 /home/hotelpol/domains/krakus.net/public_html/index.php(15): require_once('/home/hotelpol/...')
#5 {main}
thrown in /home/hotelpol/domains/krakus.net/public_html/database/connect.php on line 27