#0 haltOnError(pdo, SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'order by min_go' at line 1 ----- Query: SELECT metros.cityid, metros.metro, metros.id, near_office_metro.dist, near_office_metro.min_go, metrolines.code as lineCode FROM near_office_metro left join metros on metros.id = near_office_metro.metroid left join metrolines on metrolines.id = metrolineid where office_tariff_id = 564 and near_office_metro.metroid = order by min_go) called at [/var/www/code/core/func.php:1315]
#1 db(SELECT metros.cityid, metros.metro, metros.id, near_office_metro.dist, near_office_metro.min_go, metrolines.code as lineCode FROM near_office_metro left join metros on metros.id = near_office_metro.metroid left join metrolines on metrolines.id = metrolineid where office_tariff_id = 564 and near_office_metro.metroid = order by min_go) called at [/var/www/code/office/list-officy.php:682]
#2 require(/var/www/code/office/list-officy.php) called at [/var/www/code/office/office.php:21]
#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/10/22, 11:40:36