#0 haltOnError(pdo, SQLSTATE[42000]: Syntax error or access violation: 1066 Not unique table/alias: 'near_office_metro' ----- 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.idleft 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 (13, 14, 15, 16, 17, 18, 19, 20, 21, 22) AND area >= '20' AND area <= '25-m2' AND area >= '15' AND area <= '20-m2' AND area >= '250' AND area <= '300-m2' AND number_seats >= '100' AND number_seats <= '150' AND district_id IN (113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125) AND near_office_metro.metroid = 62 AND near_office_metro.min_go <= 70 AND area >= '70' AND area <= '80-m2' AND near_office_metro.metroid = 14 AND near_office_metro.min_go <= 70 AND orgs.cityid = '1') called at [/var/www/code/core/func.php:1314]
#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.idleft 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 (13, 14, 15, 16, 17, 18, 19, 20, 21, 22) AND area >= '20' AND area <= '25-m2' AND area >= '15' AND area <= '20-m2' AND area >= '250' AND area <= '300-m2' AND number_seats >= '100' AND number_seats <= '150' AND district_id IN (113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125) AND near_office_metro.metroid = 62 AND near_office_metro.min_go <= 70 AND area >= '70' AND area <= '80-m2' AND near_office_metro.metroid = 14 AND near_office_metro.min_go <= 70 AND orgs.cityid = '1') called at [/var/www/code/office/list-officy.php:454]
#2 require(/var/www/code/office/list-officy.php) called at [/var/www/code/office/office.php:20]
#3 require_once(/var/www/code/office/office.php) called at [/var/www/index.php:136]
Sorry, there is a fatal error!
Error reference time: 2024/09/21, 18:11:49