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 '-12,12' at line 1 IN FILE: /core/db.php ON LINE:60
#0 /core/db.php(60): PDOStatement->execute()
#1 /app/modules/offers/models/offersModel.php(593): db->pquery('SELECT * FROM `...', Array)
#2 /app/offer.php(168): offersModel->getAllProdsWithParentsAndPage(Array, '0', true, true, Array)
#3 /app/offer.php(108): offer->getProductsList(Array, '0')
#4 /app/offer.php(43): offer->category()
#5 /app/offer.php(139): offer->main()
#6 /core/dispatcher.php(36): offer->__call('kategoria', Array)
#7 /core/dispatcher.php(36): offer->kategoria()
#8 /core/dispatcher.php(20): dispatcher::loadControllers()
#9 /index.php(28): dispatcher::dispatch()
#10 {main}