Thread:Project:Support desk/Error caused by custom namespace/reply

You've defined your defined below their first use which will result in e.g. "NS_PROJECT" being used instead of the later-defined value. Also, don't forget about case sensitivity.