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 '-5, 5' at line 3 in /home/sattecom/public_html/models/db/PDOQuery.php:46
Stack trace:
#0 /home/sattecom/public_html/models/db/PDOQuery.php(46): PDOStatement->execute(Array)
#1 /home/sattecom/public_html/models/blog/BlogData.php(23): PDOQuery->fetchAll('\r\n\t\t\t\tSELECT b....')
#2 /home/sattecom/public_html/controllers/site/SiteBlogController.php(15): BlogData->readPosts('ORDER BY id DES...', 'LIMIT -5, 5')
#3 /home/sattecom/public_html/index.php(130): SiteBlogController->index(Array)
#4 {main}
thrown in /home/sattecom/public_html/models/db/PDOQuery.php on line 46