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 'AND b.blog_category_id = LIMIT 3' at line 6 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(54): PDOQuery->fetchAll('\r\n\t\t\t\tSELECT b....')
#2 /home/sattecom/public_html/controllers/site/SiteBlogController.php(34): BlogData->readRecommended(NULL, NULL)
#3 /home/sattecom/public_html/index.php(130): SiteBlogController->details(Array)
#4 {main}
thrown in /home/sattecom/public_html/models/db/PDOQuery.php on line 46