Hello,
What license and version of phpdocx are you using?
A corrupted content error appears when some content is not being added correctly or extra data is added to the document (such as PHP headers or errors from the server). If you are using a purchased license, please send the username or e-mail of the user that purchased the license and the DOCX to contact[at]phpdocx.com and we'll help you to solve the issue.
Regards.