Notice: Trying to get property of non-object in /home/vhost/ideal.ene.pl/controllers/article.php on line 33
Warning: Creating default object from empty value in /home/vhost/ideal.ene.pl/controllers/article.php on line 33
Notice: Undefined property: stdClass::$nazwa in /home/vhost/ideal.ene.pl/controllers/article.php on line 38
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 '-6, 6' at line 1' in /home/vhost/ideal.ene.pl/system/databasePDO.php:183
Stack trace:
#0 /home/vhost/ideal.ene.pl/system/databasePDO.php(183): PDO->prepare('SELECT * FROM a...')
#1 /home/vhost/ideal.ene.pl/system/databasePDO.php(227): mvc\databases\simplePDO->query('SELECT * FROM a...', Array, true)
#2 /home/vhost/ideal.ene.pl/models/articles.php(33): mvc\databases\simplePDO->get_results('SELECT * FROM a...', Array)
#3 /home/vhost/ideal.ene.pl/controllers/article.php(74): mvc\model\Articles->all(-6, 6, 'katarray REGEXP...', '')
#4 /home/vhost/ideal.ene.pl/system/controller.php(47): mvc\web\controller\Article->get_index()
#5 /home/vhost/ideal.ene.pl/core.php(158): mvc\web\controller\Controller->run('get_index')
#6 /home/vhost/ideal.ene.pl/core.php(202): mvc\web\Core->__constr in /home/vhost/ideal.ene.pl/system/databasePDO.php on line 183