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 MariaDB server version for the right syntax to use near '-8, 8' at line 7 in /home/platne/aba0033/public_html/artulinonet2_01/system/databasePDO.php:179
Stack trace:
#0 /home/platne/aba0033/public_html/artulinonet2_01/system/databasePDO.php(179): PDO->prepare('select artykuly...')
#1 /home/platne/aba0033/public_html/artulinonet2_01/system/databasePDO.php(223): artfrw\databases\simplePDO->query('select artykuly...', Array, true)
#2 /home/platne/aba0033/public_html/artulinonet2_01/model/article.php(85): artfrw\databases\simplePDO->get_results('select artykuly...')
#3 /home/platne/aba0033/public_html/artulinonet2_01/controller/home.php(31): artfrw\system\model\Articles->all(-8, ' LIMIT -8, 8', ' WHERE artykul...', ' ORDER BY arty...')
#4 /home/platne/aba0033/public_html/artulinonet2_01/system/controler.php(58): artfrw\controller\Home->get_index()
#5 /hom in /home/platne/aba0033/public_html/artulinonet2_01/system/databasePDO.php on line 179