Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
yes my implementation is totally in line with your example (even using the same replacement string). Howerver, only the first document in the loop is created as it should be. All subsequent files will be empty and the above errors are thrown.