This error is seen typically because of an incompleteentry in the aux file and can be removed bydeleting the file with .aux extension in the latex source.To re-generate these aux files "latex" needs to be run.Note - you have to run latex and not texify or anyother tool.