So, essentially, your old code still works but (some) new code causes errors?
The simple explanation would be that you made errors writing the new code.
If you don't think, after thorough review, that this is the case, you should post the code in question.