Database Error

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

SQL Query: SELECT ps.id_package,ps.titre_package,ps.id_ville,ps.nom_ville, ps.nom_pays, ps.id_duree, ps.nom_duree, ps.country_product_id, ps.country_product_name, ps.prix_double, ps.prix_single, ps.prix_triple, ps.prix_quadriple, ps.id_categorie, ps.nom_categorie, ps.ville_x, ps.ville_y, ps.package_description, ps.package_programme, ps.id_pays,ps.nom_pays, ps.minprice, min(ps.minprice) as minpx, ps.asavoir FROM pack_sans_fs_site ps WHERE ps.prix_double > 0 and ps.id_type_voyage = 3 and ps.id_package = hotel GROUP BY ps.id_package ORDER BY ps.id_package ASC

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

Stack Trace