Fatal error: Uncaught PDOException: 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 '-4' at line 1 in /www/gambero.sk/www/app/m.ponuka.php:123
Stack trace:
#0 /www/gambero.sk/www/app/m.ponuka.php(123): PDO->query('select id from ...')
#1 /www/gambero.sk/www/app/c.ponuka.php(635): Ponuka::fetch_page('ponuka')
#2 /www/gambero.sk/www/core/control.php(69): C_ponuka::C_list(Array, 'ponuka', 'list', '1')
#3 /www/gambero.sk/www/core/application.php(103): Control::dispatch(Array)
#4 /www/gambero.sk/www/index.php(12): E_Application::run()
#5 {main}
thrown in /www/gambero.sk/www/app/m.ponuka.php on line 123