propel Cannot determine the column to bind to the parameter in clause

Ошибка возникает при выполнении запроса типа:

        $timingGroups = \Model\Logistics\TimingGroupQuery::create()
            ->where('TimingGroup.CityId = ?', $cityId) 
            ->where('TimingGroup.ZoneID = ?', $zoneId)
            ->find(); // сначала извлекаем подходящие группы

Здесь причина была (моё случае) в том, что если поле называется zone_id, то указывать его надо как ZoneID, а не ZoneID.

то есть работающий код будет выглядеть так:

        $timingGroups = \Model\Logistics\TimingGroupQuery::create()
            ->where('TimingGroup.CityId = ?', $cityId) 
            ->where('TimingGroup.ZoneId = ?', $zoneId)
            ->find();