Fatal error: Uncaught exception 'PDOException' with message '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 p.id IN(969,1314,1443,1546,1598,1606,1608,1738,1737,1739,1910,1909,1911,1912' at line 1' in /home/www/tio.pl/html/inc/tio_sql.php:89
Stack trace:
#0 /home/www/tio.pl/html/inc/tio_sql.php(89): PDOStatement->execute()
#1 /home/www/tio.pl/html/inc/tio_sql.php(155): tio_db->exec('SELECT COUNT(p....', '')
#2 /home/www/tio.pl/html/moduly/produkty/user/class/produkty.php(105): tio_db->query_one('SELECT COUNT(p....', '')
#3 /home/www/tio.pl/html/moduly/producenci/user/init.php(206): produkty->ileRekordow(NULL, NULL, Array)
#4 /home/www/tio.pl/html/inc/content.php(46): include_once('/home/www/tio.p...')
#5 /home/www/tio.pl/html/index.php(87): Content->pokazStrone()
#6 {main}
thrown in /home/www/tio.pl/html/inc/tio_sql.php on line 89