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 type = 'news' AND category = 0 ORDER BY id ASC LIMIT 1' at line 1 in /home/klient.dhosting.pl/avano1/enklawa.com/public_html/CLASS/DatabaseManager.class.php:34
Stack trace:
#0 /home/klient.dhosting.pl/avano1/enklawa.com/public_html/CLASS/DatabaseManager.class.php(34): PDOStatement->execute()
#1 /home/klient.dhosting.pl/avano1/enklawa.com/public_html/LIB/container_aktualnosc.lib.php(16): DatabaseManager::selectSql('SELECT title, t...')
#2 /home/klient.dhosting.pl/avano1/enklawa.com/public_html/CLASS/MainPage.class.php(109): require_once('/home/klient.dh...')
#3 /home/klient.dhosting.pl/avano1/enklawa.com/public_html/index.php(49): MainPage->__construct('blog', '0', 'dzisiaj')
#4 {main}
thrown in /home/klient.dhosting.pl/avano1/enklawa.com/public_html/CLASS/DatabaseManager.class.php on line 34