#0 haltOnError(pdo, SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'district_id' in where clause is ambiguous ----- Query: SELECT office_tariffs.*, orgs.code as orgCode, orgs.ttl as orgName, orgs.logoid as logoId
FROM office_tariffs
left join near_office_metro on near_office_metro.office_tariff_id = office_tariffs.id
left join orgs on orgs.id = office_tariffs.org_id
WHERE office_tariffs.status = 'on' AND district_id IN (101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112) AND near_office_metro.metroid = 139 AND near_office_metro.min_go <= 70 AND district_id IN (23, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39) AND area >= '25' AND area <= '30-m2' AND near_office_metro.metroid = 157 AND near_office_metro.min_go <= 70 AND building_class = 'A' AND near_office_metro.metroid = 72 AND near_office_metro.min_go <= 70 AND orgs.cityid = '1') called at [/var/www/code/core/func.php:1317]
#1 db(SELECT office_tariffs.*, orgs.code as orgCode, orgs.ttl as orgName, orgs.logoid as logoId
FROM office_tariffs
left join near_office_metro on near_office_metro.office_tariff_id = office_tariffs.id
left join orgs on orgs.id = office_tariffs.org_id
WHERE office_tariffs.status = 'on' AND district_id IN (101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112) AND near_office_metro.metroid = 139 AND near_office_metro.min_go <= 70 AND district_id IN (23, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39) AND area >= '25' AND area <= '30-m2' AND near_office_metro.metroid = 157 AND near_office_metro.min_go <= 70 AND building_class = 'A' AND near_office_metro.metroid = 72 AND near_office_metro.min_go <= 70 AND orgs.cityid = '1') called at [/var/www/code/office/list-officy.php:464]
#2 require(/var/www/code/office/list-officy.php) called at [/var/www/code/office/office.php:22]
#3 require_once(/var/www/code/office/office.php) called at [/var/www/index.php:153]
Sorry, there is a fatal error!
Error reference time: 2025/05/14, 19:42:00