Database Error

Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'pages' in 'where clause'

SQL Query: SELECT ps.id_package,ps.id_ville,ps.nom_ville, ps.nom_pays, ps.pays_picture, ps.id_duree, ps.nom_duree, ps.prix_double, ps.prix_single, ps.prix_triple, ps.prix_quadriple, ps.id_package, ps.titre_package, ps.ville_x, ps.ville_y, ps.minprice, min(ps.minprice) as minpx FROM pack_site ps WHERE ps.id_type_voyage = 2 and ps.vo = 0 and ps.id_pays = pages GROUP BY ps.id_ville ORDER BY min(ps.minprice) ASC

Notice: If you want to customize this error message, create app/View/Errors/pdo_error.ctp

Stack Trace