#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 'and parent_id IS NULL' at line 1 ----- Query: SELECT * FROM office_districts where code='30-m2' and city_id= and parent_id IS NULL) called at [/var/www/code/core/func.php:1317]
#1 db(SELECT * FROM office_districts where code='30-m2' and city_id= and parent_id IS NULL) called at [/var/www/code/core/func.php:1383]
#2 db1(SELECT * FROM office_districts where code='30-m2' and city_id= and parent_id IS NULL) called at [/var/www/code/office/list-officy.php:154]
#3 require(/var/www/code/office/list-officy.php) called at [/var/www/code/office/office.php:22]
#4 require_once(/var/www/code/office/office.php) called at [/var/www/index.php:143]
Sorry, there is a fatal error!
Error reference time: 2025/01/19, 10:08:35