Notice: Undefined offset: 0 in /home/vhost/sonik.elblag.pl/models/articles.php on line 126

Notice: Trying to get property of non-object in /home/vhost/sonik.elblag.pl/controllers/article.php on line 123

Notice: Trying to get property of non-object in /home/vhost/sonik.elblag.pl/controllers/article.php on line 138

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 'order by id desc LIMIT 0, 10000' at line 1' in /home/vhost/sonik.elblag.pl/system/databasePDO.php:208 Stack trace: #0 /home/vhost/sonik.elblag.pl/system/databasePDO.php(208): PDO->prepare('select * from p...') #1 /home/vhost/sonik.elblag.pl/system/databasePDO.php(252): mvc\databases\simplePDO->query('select * from p...', Array, true) #2 /home/vhost/sonik.elblag.pl/models/file.php(23): mvc\databases\simplePDO->get_results('select * from p...') #3 /home/vhost/sonik.elblag.pl/controllers/article.php(138): mvc\model\File->all('ida=', 0, 10000, '') #4 /home/vhost/sonik.elblag.pl/system/controller.php(47): mvc\web\controller\Article->get_view() #5 /home/vhost/sonik.elblag.pl/core.php(158): mvc\web\controller\Controller->run('get_view') #6 /home/vhost/sonik.elblag.pl/core.php(202) in /home/vhost/sonik.elblag.pl/system/databasePDO.php on line 208