On some shared hosts / webspaces the sys_get_temp_dir() is not accessable / writeable.
Therefore a new Template can not be generated. The following Exception is thrown:
"'Could not create temporary file with unique name in the default temporary directory.'"
$this->tempFileName = tempnam(sys_get_temp_dir(), '');
I think the path, where the temporary files are stored should be configurable. So you can easily create a temp folder on your webspace and let PHPWord store the temp files there.