Hello,
Your username doesn't have any license tied, which license and version of phpdocx are you using?
We recommend you to use this method to replace text placeholders:
http://www.phpdocx.com/api-documentation/templates/replace-variable-text-Word-document
Regards.