Forum


Replies: 5   Views: 3491
Addhtml deprecation error
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 seanw  · 30-11-2010 - 21:11

The addHTML example does not work, it returns the following error:

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\docgen\phpdocx2\classes\HTML2DOCX.inc on line 226
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\docgen\phpdocx2\classes\HTML2DOCX.inc on line 1967


Also, when this is fixed, should it be possible to use this in a file along with other functions? In v1.7, this would corrupt the file and not allow it to open properly if used in conjunction with other functions like addText.