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 '.name as author_name
FROM posts p
LEFT JOIN users...' at line 2 in /home/pakpixad/theaiworld.net/app/core/Database.php:32
Stack trace:
#0 /home/pakpixad/theaiworld.net/app/core/Database.php(32): PDO->prepare()
#1 /home/pakpixad/theaiworld.net/app/modules/Settings/SettingsModel.php(126): Database->query()
#2 /home/pakpixad/theaiworld.net/app/modules/Settings/SettingsController.php(386): SettingsModel->getPostsForRss()
#3 /home/pakpixad/theaiworld.net/app/core/Router.php(35): SettingsController->rss()
#4 /home/pakpixad/theaiworld.net/public/index.php(249): Router->dispatch()
#5 {main}
thrown in /home/pakpixad/theaiworld.net/app/core/Database.php on line 32