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 '-20,20' at line 1 IN FILE: /home/intent-sales/ftp/www/naszursynow/core/db.php ON LINE:60
#0 /home/intent-sales/ftp/www/naszursynow/core/db.php(60): PDOStatement->execute()
#1 /home/intent-sales/ftp/www/naszursynow/app/models/pageModel.php(197): db->pquery('SELECT `urs_pag...', Array)
#2 /home/intent-sales/ftp/www/naszursynow/app/models/articles.php(89): pageModel->getNewestArticlesWithParentAndLimit('1', '-20,20')
#3 /home/intent-sales/ftp/www/naszursynow/app/models/articles.php(62): articles->getArticlesWithParent()
#4 /home/intent-sales/ftp/www/naszursynow/app/models/articles.php(53): articles->getNews()
#5 /home/intent-sales/ftp/www/naszursynow/app/models/articles.php(34): articles->prepareNews(false)
#6 /home/intent-sales/ftp/www/naszursynow/core/helpers/FrontPageHelper.php(131): articles->news('1', 'strona-glowna', '0', 'councilors', 20, true, true)
#7 /home/intent-sales/ftp/www/naszursynow/app/page.php(8): FrontPageHelper->_getArticles('1')
#8 /home/intent-sales/ftp/www/naszursynow/core/dispatcher.php(36): page->main()
#9 /home/intent-sales/ftp/www/naszursynow/core/dispatcher.php(20): dispatcher::loadControllers()
#10 /home/intent-sales/ftp/www/naszursynow/index.php(25): dispatcher::dispatch()
#11 {main}