Forum


Replies: 6   Views: 5514
Issue when starting createdocx class
Topic closed:
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.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by therasim  · 20-04-2015 - 18:54

Hi, The problem seems like the setAttribute method is being used by through getElementsByTagName, which returns a DOMNodeList, and that method returns DOMNode in PHP 5.5, instead of DOMElement. So DOMNode doesn't have access to that method. Is there a workaround for this? I tried to run my examples in a standalone environment and the same issue came up.