Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and id = 3604042' at line 1

/home/nmls.ru/data/www/nmls.ru/includes/Zend/Db/Statement.php : 115 : select * from vocGeo where type = 4 and city_id = and id = 3604042
/home/nmls.ru/data/www/nmls.ru/includes/Zend/Db/Adapter/Mysqli.php : 381 :
Catchable fatal error: Object of class Zend_Db_Adapter_Mysqli could not be converted to string in /home/nmls.ru/data/www/nmls.ru/template/exception.php on line 4