Dude, that is weird. I figured it out. When BuddyPress forums emailed me your response, it added extra characters in the Email. Then, when I cut and paste it back into BuddyPress forums, the extra characters were removed. I changed the code to remove the extra characters the Email added and the error went away.