Fatal error: Uncaught mysqli_sql_exception: 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 '' at line 1 in /home/fabryka1a/domains/kzbs.pl/public_html/admin/db.php:16
Stack trace:
#0 /home/fabryka1a/domains/kzbs.pl/public_html/admin/db.php(16): mysqli_query(Object(mysqli), 'SELECT tresc_po...')
#1 /home/fabryka1a/domains/kzbs.pl/public_html/templates/inc_menu_bok_bs.php(9): mysql_query('SELECT tresc_po...')
#2 /home/fabryka1a/domains/kzbs.pl/public_html/templates/newsList.php(15): include('/home/fabryka1a...')
#3 /home/fabryka1a/domains/kzbs.pl/public_html/templates/news.php(59): include('/home/fabryka1a...')
#4 /home/fabryka1a/domains/kzbs.pl/public_html/templates/rama.php(206): include('/home/fabryka1a...')
#5 /home/fabryka1a/domains/kzbs.pl/public_html/index.php(376): include('/home/fabryka1a...')
#6 /home/fabryka1a/domains/kzbs.pl/public_html/rewrite.php(39): include('/home/fabryka1a...')
#7 {main}
thrown in /home/fabryka1a/domains/kzbs.pl/public_html/admin/db.php on line 16