Forum


Replies: 1   Views: 4410
Domdocument::loadhtml(): attribute style redefined in entity
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 smartbit  · 17-09-2013 - 15:14

Hi,



I keep getting this error when I do this:




$docx->replaceTemplateVariableByHTML('CODESTABEL', 'block', $table, array('isFile' => false));


This is the error:




[errstr] => DOMDocument::loadHTML(): Attribute style redefined in Entity, line: 1
[errfile] => /var/www/trunk/lib/phpdocx/lib/dompdfParser/include/parserhtml.cls.php
[errline] => 438


Any ideas?