Warning: Trying to access array offset on value of type null in /usr/home/avano1/domains/weo.pl/public_html/LIB/porada.lib.php on line 7
Warning: Trying to access array offset on value of type null in /usr/home/avano1/domains/weo.pl/public_html/LIB/porada.lib.php on line 7
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 MySQL server version for the right syntax to use near 'AND type = 'news' ORDER BY id ASC LIMIT 1' at line 1 in /usr/home/avano1/domains/weo.pl/public_html/CLASS/DatabaseManager.class.php:35
Stack trace:
#0 /usr/home/avano1/domains/weo.pl/public_html/CLASS/DatabaseManager.class.php(35): PDOStatement->execute()
#1 /usr/home/avano1/domains/weo.pl/public_html/LIB/porada.lib.php(9): DatabaseManager::selectSql('SELECT title, u...')
#2 /usr/home/avano1/domains/weo.pl/public_html/CLASS/MainPage.class.php(18): require_once('/usr/home/avano...')
#3 /usr/home/avano1/domains/weo.pl/public_html/index.php(59): MainPage->__construct('porady', 'jak-zalozyc-wla...', false)
#4 {main}
thrown in /usr/home/avano1/domains/weo.pl/public_html/CLASS/DatabaseManager.class.php on line 35