PDOException Object ( [message:protected] => 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 `PostCategorie` = '12' AND `Visible` = '1' ORDER BY `DatePublication` DESC' at line 1 [string:Exception:private] => [code:protected] => 42000 [file:protected] => /home/arrondis/public_html/classes/db.php [line:protected] => 37 [trace:Exception:private] => Array ( [0] => Array ( [file] => /home/arrondis/public_html/classes/db.php [line] => 37 [function] => execute [class] => PDOStatement [type] => -> [args] => Array ( [0] => Array ( [0] => 12 [1] => 1 ) ) ) [1] => Array ( [file] => /home/arrondis/public_html/classes/models/model.php [line] => 318 [function] => reader [class] => DB [type] => :: [args] => Array ( [0] => SELECT `ID`,`PostCategorie`,`PostFormat`,`User`,`Alias`,`Image`,`DatePublication`,`DateExpiration`,`EventLieu`,`EventDateStart`,`EventDateEnd`,`PlaceLong`,`PlaceLat`,`Public`,`Parents`,`Visible`,`Home`,`Date`,`UpdateHistory`,`Files` FROM posts WHERE ID NOT IN () AND `PostCategorie` = ? AND `Visible` = ? ORDER BY `DatePublication` DESC [1] => Array ( [0] => 12 [1] => 1 ) ) ) [2] => Array ( [file] => /home/arrondis/public_html/posts.php [line] => 212 [function] => getList [class] => Models\Model [type] => :: [args] => Array ( [0] => Array ( [where] => Array ( [0] => ID NOT IN () [PostCategorie] => 12 [Visible] => 1 ) [order] => Array ( [DatePublication] => ) ) ) ) [3] => Array ( [file] => /home/arrondis/public_html/posts.php [line] => 313 [function] => posts [class] => ContentController [type] => -> [args] => Array ( [0] => ) ) [4] => Array ( [file] => /home/arrondis/public_html/index.php [line] => 53 [args] => Array ( [0] => /home/arrondis/public_html/posts.php ) [function] => include ) ) [previous:Exception:private] => [errorInfo] => Array ( [0] => 42000 [1] => 1064 [2] => 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 `PostCategorie` = '12' AND `Visible` = '1' ORDER BY `DatePublication` DESC' at line 1 ) )