Fatal error: Uncaught exception 'DatabaseException' with message 'SQL query failed with error #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 id_jezyk=1 ORDER BY data DESC' at line 1
SQL: SELECT * FROM galleries WHERE id IN () AND id_jezyk=1 ORDER BY data DESC' in /home/leczna/public_html/libs/baza.php:171
Stack trace:
#0 /home/leczna/public_html/libs/baza.php(275): baza->query('SELECT * FROM g...')
#1 /home/leczna/public_html/inc/strona/galeria_top.php(36): baza->q('s', 'galleries', '', 'id IN () AND id...', 'data DESC')
#2 /home/leczna/public_html/_class/BuildHtml.php(275): include('/home/leczna/pu...')
#3 /home/leczna/public_html/_class/BuildHtml.php(318): BuildHtml->template()
#4 /home/leczna/public_html/_class/App.php(48): BuildHtml->output()
#5 /home/leczna/public_html/index.php(46): App->output()
#6 {main}
thrown in /home/leczna/public_html/libs/baza.php on line 171