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 '-16, 16' at line 1' in /home/vhost/rokal.ene.pl/system/databasePDO.php:183
Stack trace:
#0 /home/vhost/rokal.ene.pl/system/databasePDO.php(183): PDO->prepare('SELECT * FROM m...')
#1 /home/vhost/rokal.ene.pl/system/databasePDO.php(227): mvc\databases\simplePDO->query('SELECT * FROM m...', Array, true)
#2 /home/vhost/rokal.ene.pl/models/video.php(35): mvc\databases\simplePDO->get_results('SELECT * FROM m...')
#3 /home/vhost/rokal.ene.pl/controllers/video.php(24): mvc\model\Video->all(-16, 16, '', '')
#4 /home/vhost/rokal.ene.pl/system/controller.php(46): mvc\web\controller\Video->get_index()
#5 /home/vhost/rokal.ene.pl/core.php(158): mvc\web\controller\Controller->run('get_index')
#6 /home/vhost/rokal.ene.pl/core.php(202): mvc\web\Core->__construct()
#7 /home/vhost/rokal.ene. in /home/vhost/rokal.ene.pl/system/databasePDO.php on line 183