PDOException Object ( [message:protected] => SQLSTATE[42S22]: Column not found: 1054 Unknown column 'PromaSafe' in 'where clause' [string:Exception:private] => [code:protected] => 42S22 [file:protected] => /home/vgiziqh/www/classes/db.php [line:protected] => 37 [trace:Exception:private] => Array ( [0] => Array ( [file] => /home/vgiziqh/www/classes/db.php [line] => 37 [function] => execute [class] => PDOStatement [type] => -> [args] => Array ( [0] => Array ( [0] => 0 [1] => 1 ) ) ) [1] => Array ( [file] => /home/vgiziqh/www/classes/models/model.php [line] => 619 [function] => reader [class] => DB [type] => :: [args] => Array ( [0] => SELECT `ID`,`ProduitCategorie`,`Marque`,`Specialite`,`UserBy`,`Alias`,`Image`,`Images`,`Visible`,`Consommable`,`CleanSafe`,`Autres`,`Date`,`OgImage` FROM produits WHERE `Consommable` = ? AND (PromaSafe = 0 OR PromaSafe IS NULL) AND `Visible` = ? ORDER BY `ID` DESC LIMIT 9 [1] => Array ( [0] => 0 [1] => 1 ) ) ) [2] => Array ( [file] => /home/vgiziqh/www/posts.php [line] => 226 [function] => getList [class] => Models\Model [type] => :: [args] => Array ( [0] => Array ( [where] => Array ( [Consommable] => 0 [0] => (PromaSafe = 0 OR PromaSafe IS NULL) [Visible] => 1 ) [order] => Array ( [ID] => ) [limit] => 9 ) ) ) [3] => Array ( [file] => /home/vgiziqh/www/posts.php [line] => 343 [function] => equipement [class] => ContentController [type] => -> [args] => Array ( [0] => ) ) [4] => Array ( [file] => /home/vgiziqh/www/index.php [line] => 51 [args] => Array ( [0] => /home/vgiziqh/www/posts.php ) [function] => include ) ) [previous:Exception:private] => [errorInfo] => Array ( [0] => 42S22 [1] => 1054 [2] => Unknown column 'PromaSafe' in 'where clause' ) )