I am working through part4 of Symfony2, and while updating the controller and helper class code i got the following error message
Undefined method \'getLates
The other solution is to delete all the orm.xml files added by generated entities. If you move the folder or delete, your mapping with repository will be operationnal.